void () { final RunContentDescriptor contentDescriptor = getContentDescriptor(); if (contentDescriptor == null) { return; } final boolean removedOk = RunContentManager.getInstance(myProject).removeRunContent(getExecutor(), contentDescriptor); if (removedOk) { myContentDescriptor = null; myExecutor = null; } }