Example #1
0
 internal void DisconnectDone()
 {
     _subscribeManager.Clear();
     _timer.Close();
     _processor.Close();
     _emitter.Close();
     ClearAccoutQueue();
     Market = null;
     Trader = null;
 }
Example #2
0
 internal void DisconnectDone()
 {
     _subscribeManager.Clear();
     _timer.Close();
     _dealProcessor.Close();
     _emitter.Close();
     ClearAccountQueue();
     market = null;
     trader = null;
     EventHappened?.Invoke(this, XProviderEventType.DisconnectDone);
 }