mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't reschedule async editor loading when the file editor or project is disposed
This commit is contained in:
+3
-1
@@ -91,7 +91,9 @@ public class AsyncEditorLoader {
|
||||
|
||||
@Override
|
||||
public void onCanceled(@NotNull ProgressIndicator indicator) {
|
||||
scheduleBackgroundLoading(false);
|
||||
if (!Disposer.isDisposed(myTextEditor) || myProject.isDisposed()) {
|
||||
scheduleBackgroundLoading(false);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user