public override void Stop() { mWaitingEvents.CompleteAdding(); WorkingThread.Join(); mWaitingEvents.Dispose(); base.Stop(); mTimeDispatcher.Stop(); }
public void Stop() { mTimeDispatcher.Stop(); mServer.Stop(); foreach (var client in mFromServiceType2Brokers) { client.Value.Stop(); } }