mirror of
https://github.com/moparisthebest/fernflower
synced 2024-11-16 06:15:04 -05:00
IDEA-130959 (method and system for interrupting binary decompilers)
This commit is contained in:
parent
3940565598
commit
85e6caaea1
@ -95,8 +95,14 @@ public class ClassWrapper {
|
||||
mtThread.start();
|
||||
|
||||
while (!mtProc.isFinished()) {
|
||||
synchronized (mtProc.lock) {
|
||||
mtProc.lock.wait(100);
|
||||
try {
|
||||
synchronized (mtProc.lock) {
|
||||
mtProc.lock.wait(200);
|
||||
}
|
||||
}
|
||||
catch (InterruptedException e) {
|
||||
killThread(mtThread);
|
||||
throw e;
|
||||
}
|
||||
|
||||
if (System.currentTimeMillis() >= stopAt) {
|
||||
|
Loading…
Reference in New Issue
Block a user