public void Clear() { if (this.queue != null) { this.outputManager.Framework.EventBus.CommandPipe.Remove(this.queue); this.queue.Clear(); this.queue = null; } }