mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-89953 - assert: MessageBusImpl.checkNotDisposed
This commit is contained in:
+6
-1
@@ -244,7 +244,12 @@ public abstract class GeneralTestEventsProcessor implements Disposable {
|
||||
}
|
||||
|
||||
public void stopEventProcessing() {
|
||||
UIUtil.invokeLaterIfNeeded(() -> myTransferToEDTQueue.drain());
|
||||
UIUtil.invokeLaterIfNeeded(() -> {
|
||||
if (myProject.isDisposed()) {
|
||||
return;
|
||||
}
|
||||
myTransferToEDTQueue.drain();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user