public void Dispose() { foreach (var channel in _consumerChannels.RemoveAll()) { channel.Disconnected(); } foreach (var channel in _producerChannels.RemoveAll()) { channel.Disconnected(); } }
public void Dispose() { _requestResponseHandler.Dispose(); foreach (var channel in _consumerChannels.RemoveAll()) { channel.Disconnected(); } foreach (var channel in _producerChannels.RemoveAll()) { channel.Disconnected(); } }