@Override
    public void contentRemoved(@NotNull ContentManagerEvent event) {
      if (event.getContent() == myContent) {
        if (myErrorsView.canControlProcess()) {
          myErrorsView.stopProcess();
        }
        myErrorsView = null;

        Objects.requireNonNull(myContent.getManager()).removeContentManagerListener(this);
        myContent.release();
        myContent = null;
      }
    }
@Override
    public void contentRemoved(@NotNull ContentManagerEvent event)