mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
disconnect when Runtime.executionContextDestroyed fired (WEB-28151)
This commit is contained in:
@@ -45,8 +45,10 @@ interface MultiVmDebugProcess {
|
||||
val mainVm = mainVm ?: return emptyList()
|
||||
val result = mutableListOf<Vm>()
|
||||
fun addRecursively(vm: Vm) {
|
||||
result.add(vm)
|
||||
vm.childVMs.forEach { addRecursively(it) }
|
||||
if (vm.attachStateManager.isAttached) {
|
||||
result.add(vm)
|
||||
vm.childVMs.forEach { addRecursively(it) }
|
||||
}
|
||||
}
|
||||
addRecursively(mainVm)
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user