private void StopCurrentTask(ILogicalDevice device, Cue.CueParts cuePart) { if (this.currentInstance == null) return; this.currentInstance.StopExistingTask(device, cuePart); }