Exemple #1
0
 public override void Stop()
 {
     mWaitingEvents.CompleteAdding();
     WorkingThread.Join();
     mWaitingEvents.Dispose();
     base.Stop();
     mTimeDispatcher.Stop();
 }
Exemple #2
0
        public void Stop()
        {
            mTimeDispatcher.Stop();
            mServer.Stop();

            foreach (var client in mFromServiceType2Brokers)
            {
                client.Value.Stop();
            }
        }