mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-109664 HgException: already disposed (EA-40079). Check if project is disposed added before handleUpdate method.
This commit is contained in:
@@ -87,6 +87,9 @@ public class HgCurrentBranchStatusUpdater implements HgUpdater {
|
||||
ApplicationManager.getApplication().invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (project.isDisposed()) {
|
||||
return;
|
||||
}
|
||||
handleUpdate(project, branch, parents);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user