Exemplo n.º 1
0
        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
        }
Exemplo n.º 2
0
 /// <summary>
 /// Stops the node; that includes all activies, such as synchronization and networking.
 /// </summary>
 public void Stop()
 {
     ExecutorNative.executor_stop(nativeInstance_);
 }