mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
reduce life span to avoid memleaks
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ public abstract class ExternalSystemTestCase extends UsefulTestCase {
|
||||
List<String> allowedRoots = new ArrayList<>();
|
||||
collectAllowedRoots(allowedRoots);
|
||||
if (!allowedRoots.isEmpty()) {
|
||||
VfsRootAccess.allowRootAccess(getTestRootDisposable(), ArrayUtil.toStringArray(allowedRoots));
|
||||
VfsRootAccess.allowRootAccess(myTestFixture.getTestRootDisposable(), ArrayUtil.toStringArray(allowedRoots));
|
||||
}
|
||||
|
||||
CompilerTestUtil.enableExternalCompiler();
|
||||
|
||||
Reference in New Issue
Block a user