コード例 #1
0
ファイル: Executor.cs プロジェクト: KursLabIgor/bitprim-cs
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                //Release managed resources and call Dispose for member variables
            }
            //Release unmanaged resources
            if (running_ && ExecutorNative.executor_stopped(nativeInstance_) != 0)
            {
                ExecutorNative.executor_stop(nativeInstance_);
            }
            ExecutorNative.executor_destruct(nativeInstance_);

#if KEOKEN
            keokenManager_?.Dispose();
#endif
        }
コード例 #2
0
ファイル: Executor.cs プロジェクト: KursLabIgor/bitprim-cs
 /// <summary>
 /// Stops the node; that includes all activies, such as synchronization and networking.
 /// </summary>
 public void Stop()
 {
     ExecutorNative.executor_stop(nativeInstance_);
 }