示例#1
0
 internal void StopAsyncDelivery()
 {
     if (startedAsyncDelivery)
     {
         this.dispatchingThread.ExceptionListener -= this.dispatchingThread_ExceptionHandler;
         dispatchingThread.Stop((int)MAX_THREAD_WAIT.TotalMilliseconds);
         startedAsyncDelivery = false;
     }
 }
示例#2
0
 internal void StopAsyncDelivery()
 {
     if (startedAsyncDelivery)
     {
         this.dispatchingThread.ExceptionListener -= this.dispatchingThread_ExceptionHandler;
         dispatchingThread.Stop(5000);
         startedAsyncDelivery = false;
     }
 }