Beispiel #1
0
 public void Close()
 {
     if (!IsClosed)
     {
         _closed.Set(true);
         Mailbox.Close();
         _dispatcherTokenSource.Cancel();
         _dispatcherTokenSource.Dispose();
         _backoffTokenSource.Dispose();
     }
 }
Beispiel #2
0
 public void Close()
 {
     closed.Set(true);
     Mailbox.Close();
 }