Fix invoke later for disposed project

EA-44383 - assert: ComponentManagerImpl.getComponent
This commit is contained in:
Nikolay Krasko
2013-10-15 18:04:24 +04:00
parent 0c49b91098
commit b59f797122
@@ -255,7 +255,9 @@ public class UnsupportedAbiVersionNotificationPanelProvider extends EditorNotifi
ApplicationManager.getApplication().invokeLater(new Runnable() {
@Override
public void run() {
EditorNotifications.getInstance(project).updateAllNotifications();
if (!project.isDisposed()) {
EditorNotifications.getInstance(project).updateAllNotifications();
}
}
});
}