public void Stop() { _subscriptions?.Dispose(); _subscriptions = null; _messageBus?.ThreadPool?.StopDedicatedWorker(_threadId); _threadId = 0; }
public void Stop() { _backplane.Stop(); _backplane.MessageReceived -= MessageReceivedHandler; _backplane.ClusterMember -= ClusterMemberHandler; _backplane.ZoneMember -= ZoneMemberHandler; _subscriptions.Dispose(); }
public void Stop() { if (_subscriptions == null) { return; } _subscriptions.Dispose(); _subscriptions = null; _messageBus.ThreadPool.StopDedicatedWorker(_workerThreadId); _workerThreadId = 0; }
public void Stop() { _backplane.Stop(); _backplane.MessageReceived -= MessageReceivedHandler; _backplane.ClusterMember -= ClusterMemberHandler; _backplane.ZoneMember -= ZoneMemberHandler; _subscriptions.Dispose(); _subscriptions = null; _messageBus.ThreadPool.StopDedicatedWorker(_workerThreadId); }
public void Dispose() { _subscriptions.Dispose(); }
public void Stop() { _subscriptions.Dispose(); _threadId = 0; }
public void Stop() { _subscriptions.Dispose(); _subscriptions = null; }