mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
dispose application components in tests
This commit is contained in:
+1
-1
@@ -290,7 +290,7 @@ public class ApplicationImpl extends PlatformComponentManagerImpl implements App
|
||||
ShutDownTracker.getInstance().registerShutdownTask(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (isDisposed() || isDisposeInProgress()) {
|
||||
if (isDisposed() || myDisposeInProgress) {
|
||||
return;
|
||||
}
|
||||
ShutDownTracker.invokeAndWait(isUnitTestMode(), true, new Runnable() {
|
||||
|
||||
Reference in New Issue
Block a user