@Override
    public void sessionTerminated(@NotNull UUID sessionId) {
      try {
        super.sessionTerminated(sessionId);
      }
      finally {
        try {
          ApplicationManager.getApplication().getMessageBus().syncPublisher(BuildManagerListener.TOPIC).buildFinished(myProject, sessionId, myIsAutomake);
        }
        catch (ProcessCanceledException ignored) {
        }
        catch (AlreadyDisposedException e) {
          LOG.warn(e);
        }
        catch (Throwable e) {
          LOG.error(e);
        }
      }
    }
@Override
    public void sessionTerminated(@NotNull UUID sessionId)