Commit 18be7e21 authored by Gregory.Shrago's avatar Gregory.Shrago
Browse files

IDEA-203612 NullPointerException occurs on opening a second/new project in the same window

parent f29ad36d
Branches unavailable Tags unavailable
No related merge requests found
Showing with 2 additions and 0 deletions
+2 -0
......@@ -622,11 +622,13 @@ public class ContentManagerImpl implements ContentManager, PropertyChangeListene
@Override
public void beforeTreeDispose() {
if (myDisposed) return;
myUI.beforeDispose();
}
@Override
public void dispose() {
if (myDisposed) return;
myDisposed = true;
myContents.clear();
......
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