mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
external compiler thread (and project) leaks in tests fixed
This commit is contained in:
@@ -1318,6 +1318,7 @@ public class BuildManager implements Disposable {
|
||||
|
||||
public void stopListening() {
|
||||
myChannelRegistrar.close();
|
||||
myListenPort = -1;
|
||||
}
|
||||
|
||||
private int startListening() throws Exception {
|
||||
|
||||
@@ -115,6 +115,7 @@ public class CompilerTestUtil {
|
||||
ModuleRootModificationUtil.setModuleSdk(module, internalJdk);
|
||||
}
|
||||
BuildManager.getInstance().clearState(project);
|
||||
BuildManager.getInstance().stopListening();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user