@Override
  public void actionPerformed(@NotNull AnActionEvent e) {
    if (RunContentManager.getInstance(myProject).removeRunContent(myExecutor, myContentDescriptor)) {
      CompilerManager.getInstance(myProject).compile(myModule, new CompileStatusNotification() {
        @Override
        public void finished(boolean aborted, int errors, int warnings, @NotNull CompileContext compileContext) {
          if (!myModule.isDisposed()) {
            myRestarter.consume(myModule);
          }
        }
      });
    }
  }
@Override
  public void actionPerformed(@NotNull AnActionEvent e)