NetMQ.Zyre.Zyre.Stop C# (CSharp) Method

Stop() public method

Stop node; this signals to other peers that this node will go away. This is polite; however you can also just destroy the node without stopping it.
public Stop ( ) : void
return void
        public void Stop()
        {
            _actor.SendFrame("STOP");
            if (_useEvents)
            {
                Thread.Sleep(1000); // wait for poller so we don't miss messages
                _inboxPoller.Remove(_inbox);
            }
        }