/// <summary> /// Removes a queue from the channel /// </summary> public async Task RemoveQueue(ChannelQueue queue) { _queues.Remove(queue); await queue.SetStatus(QueueStatus.Stopped); if (EventHandler != null) { await EventHandler.OnQueueRemoved(queue, this); } await queue.Destroy(); }