Example #1
0
 public void Dispose()
 {
     foreach (var connection in connectionList)
     {
         RemoveEventHandlerNotifications(connection);
         connection.Dispose();
     }
     connectionList.Clear();
     reactor?.Dispose();
 }
Example #2
0
 public void Dispose()
 {
     RemoveEventHandlerNotifications(serviceHandler);
     serviceHandler.Dispose();
     reactor.Dispose();
 }