@Override
      public void projectClosing(@NotNull Project project) {
        if (project == myProject) {
          close(CANCEL_EXIT_CODE);
        }
      }
@Override
      public void projectClosing(@NotNull Project project)