public void Dispose() { foreach (var module in _modules.Values) { module.Stop(); ObjectManagement.TryDispose(module); } _modules.Clear(); }
public void Dispose() { _subscriptionDispatcher.Dispose(); _requestDispatcher.Dispose(); _participantDispatcher.Dispose(); ObjectManagement.TryDispose(WorkerPool); ObjectManagement.TryDispose(Modules); }
public void Dispose() { ObjectManagement.TryDispose(_store); }
public void Dispose() { ObjectManagement.TryDispose(Outbox); ObjectManagement.TryDispose(Sender); _monitorToken?.Dispose(); }