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