IDEA-130959 (method and system for interrupting binary decompilers)

This commit is contained in:
Roman Shevchenko 2014-11-10 21:59:02 +01:00
parent 3940565598
commit 85e6caaea1

View File

@ -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) {