Dispose the build window view on the tab close

This commit is contained in:
Vladislav.Soroka
2017-10-12 14:17:15 +03:00
parent 620ff7dc19
commit 05ec72ae34
@@ -381,6 +381,7 @@ public class MultipleBuildsView implements BuildProgressListener, Disposable {
"BuildView", myToolbarActions, false).getComponent(), BorderLayout.WEST);
myContent = new ContentImpl(consoleComponent, myViewManager.getViewName(), true);
Disposer.register(myContent, this);
myContent.setCloseable(false);
Icon contentIcon = myViewManager.getContentIcon();
if (contentIcon != null) {