@Override
    public void contentRemoved(@NotNull ContentManagerEvent event) {
      if (event.getContent() == myContent) {
        AntBuildMessageView buildMessageView = myContent.getUserData(KEY);
        if (!myCloseAllowed) {
          buildMessageView.stopProcess();
        }
        myContent.release();
        myContent = null;
      }
    }
@Override
    public void contentRemoved(@NotNull ContentManagerEvent event)