Commit 323e1673 authored by Vladislav.Soroka's avatar Vladislav.Soroka
Browse files

Build window: npe fix

parent 1997281e
Showing with 4 additions and 1 deletion
+4 -1
......@@ -329,7 +329,10 @@ public class BuildContentManagerImpl implements BuildContentManager {
if (myContent == null) return;
final Content content = myContent;
content.getManager().removeContentManagerListener(this);
ContentManager contentManager = content.getManager();
if(contentManager != null) {
contentManager.removeContentManagerListener(this);
}
ProjectManager.getInstance().removeProjectManagerListener(myProject, this);
content.release();
myContent = null;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment