IDEA-130959 (method and system for interrupting binary decompilers)
This commit is contained in:
@@ -95,8 +95,14 @@ public class ClassWrapper {
|
|||||||
mtThread.start();
|
mtThread.start();
|
||||||
|
|
||||||
while (!mtProc.isFinished()) {
|
while (!mtProc.isFinished()) {
|
||||||
synchronized (mtProc.lock) {
|
try {
|
||||||
mtProc.lock.wait(100);
|
synchronized (mtProc.lock) {
|
||||||
|
mtProc.lock.wait(200);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (InterruptedException e) {
|
||||||
|
killThread(mtThread);
|
||||||
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (System.currentTimeMillis() >= stopAt) {
|
if (System.currentTimeMillis() >= stopAt) {
|
||||||
|
|||||||
Reference in New Issue
Block a user