mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Killing thread to workaround LiteXmlRpcTransport infinite loop bug
This commit is contained in:
@@ -120,6 +120,7 @@ public class PyConsoleTask extends PyExecutionFixtureTestTask {
|
||||
if (rpc.isPresent()) {
|
||||
final Thread thread = rpc.get();
|
||||
// There is no way to interrupt this thread with "interrupt": it has infinite loop (bug) which does not check ".isInterrupted()"
|
||||
//noinspection CallToThreadStopSuspendOrResumeManager
|
||||
thread.stop();
|
||||
thread.join();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user