public async Task StopConsuming() { logger.Info("StopConsuming"); if (consumerInterface != null) { await consumer.UnsubscribeAsync(consumerInterface); //consumerInterface.Dispose(); consumerInterface = null; } }
public async Task StopConsuming() { logger.Info("StopConsuming"); if (consumerInterface != null) { await consumer.UnsubscribeAsync(consumerInterface); //consumerInterface.Dispose(); consumerInterface = null; } }