mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
disposed check
This commit is contained in:
@@ -463,6 +463,9 @@ public class CompilerTask extends Task.Backgroundable {
|
||||
}
|
||||
|
||||
private void removeAllContents(Project project, Content notRemove) {
|
||||
if (project.isDisposed()) {
|
||||
return;
|
||||
}
|
||||
final MessageView messageView = MessageView.SERVICE.getInstance(project);
|
||||
Content[] contents = messageView.getContentManager().getContents();
|
||||
for (Content content : contents) {
|
||||
|
||||
Reference in New Issue
Block a user