@Override
      public void processWillTerminate(@NotNull ProcessEvent event, boolean willBeDestroyed) {
        if (!willBeDestroyed) {
          synchronized (d) {
            Disposer.dispose(d);
          }
        }
      }
@Override
      public void processWillTerminate(@NotNull ProcessEvent event, boolean willBeDestroyed)