public virtual void StopNetwork() { Acceptor.Close(); if (_threadCount != 0) { for (int i = 0; i < _threadCount; ++i) { _threads[i].Stop(); } } Wait(); Acceptor = null; _threads = null; _threadCount = 0; }
public override void disable() { billAcceptor.Close(); }