mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
dispose project in a write action
This commit is contained in:
committed by
Eugene Kudelevsky
parent
4d9912f0a5
commit
8f7ee3f71b
+5
-1
@@ -98,7 +98,11 @@ class HeavyIdeaTestFixtureImpl extends BaseFixture implements HeavyIdeaTestFixtu
|
||||
|
||||
Runnable runnable = new Runnable() {
|
||||
public void run() {
|
||||
Disposer.dispose(myProject);
|
||||
ApplicationManager.getApplication().runWriteAction(new Runnable() {
|
||||
public void run() {
|
||||
Disposer.dispose(myProject);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
if (ApplicationManager.getApplication().isDispatchThread()) {
|
||||
|
||||
Reference in New Issue
Block a user