mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Always release a latch even in case of exceptions (PY-25920)
This commit is contained in:
@@ -333,11 +333,13 @@ public class RemoteDebugger implements ProcessDebugger {
|
||||
|
||||
try {
|
||||
command.execute();
|
||||
myLatch.countDown();
|
||||
}
|
||||
catch (PyDebuggerException e) {
|
||||
LOG.error(e);
|
||||
}
|
||||
finally {
|
||||
myLatch.countDown();
|
||||
}
|
||||
});
|
||||
if (command.isResponseExpected()) {
|
||||
// Note: do not wait for result from UI thread
|
||||
|
||||
Reference in New Issue
Block a user