Example #1
0
 public void Dispose()
 {
     foreach (var module in _modules.Values)
     {
         module.Stop();
         ObjectManagement.TryDispose(module);
     }
     _modules.Clear();
 }
Example #2
0
        public void Dispose()
        {
            _subscriptionDispatcher.Dispose();
            _requestDispatcher.Dispose();
            _participantDispatcher.Dispose();

            ObjectManagement.TryDispose(WorkerPool);
            ObjectManagement.TryDispose(Modules);
        }
Example #3
0
 public void Dispose()
 {
     ObjectManagement.TryDispose(_store);
 }
 public void Dispose()
 {
     ObjectManagement.TryDispose(Outbox);
     ObjectManagement.TryDispose(Sender);
     _monitorToken?.Dispose();
 }