@Override
    public void finished(boolean aborted, int errors, int warnings, final @NotNull CompileContext compileContext) {
      if (!myProject.isDisposed()) {
        myEventPublisher.compilationFinished(aborted, errors, warnings, compileContext);
      }
      if (myDelegate != null) {
        myDelegate.finished(aborted, errors, warnings, compileContext);
      }
    }
@Override
    public void finished(boolean aborted, int errors, int warnings, final @NotNull CompileContext compileContext)