@Override
      public void processWillTerminate(@NotNull ProcessEvent event, boolean willBeDestroyed) {
        for (ProcessListener listener : myListeners) {
          try {
            listener.processWillTerminate(event, willBeDestroyed);
          }
          catch (ProcessCanceledException e) {
            LOG.info(e);
          }
          catch (Throwable e) {
            LOG.error(new Exception("error when processing " + event + " by " + listener.getClass(), e));
          }
        }
      }
@Override
      public void processWillTerminate(@NotNull ProcessEvent event, boolean willBeDestroyed)