mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
inspection view: check updating alarm not disposed EA-237106
GitOrigin-RevId: ec2584fd6ab2915e40f3728b5d530ba18c971f80
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3c17b8c2f2
commit
d878c12f6c
@@ -539,12 +539,14 @@ public class InspectionResultsView extends JPanel implements Disposable, DataPro
|
||||
contents,
|
||||
problems::get);
|
||||
|
||||
myLoadingProgressPreviewAlarm.cancelAllRequests();
|
||||
myLoadingProgressPreviewAlarm.addRequest(() -> {
|
||||
if (myLoadingProgressPreview != null) {
|
||||
myLoadingProgressPreview.updateLoadingProgress();
|
||||
}
|
||||
}, 200);
|
||||
if (!myLoadingProgressPreviewAlarm.isDisposed()) {
|
||||
myLoadingProgressPreviewAlarm.cancelAllRequests();
|
||||
myLoadingProgressPreviewAlarm.addRequest(() -> {
|
||||
if (myLoadingProgressPreview != null) {
|
||||
myLoadingProgressPreview.updateLoadingProgress();
|
||||
}
|
||||
}, 200);
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user