infinite loop on stop: this was wrong.. not sure about the right solution

This commit is contained in:
Hannes Janetzek
2013-10-09 01:56:11 +02:00
parent 4993cf469d
commit dd757a1b95
+6 -6
View File
@@ -44,12 +44,12 @@ public abstract class PausableThread extends Thread {
super.interrupt(); super.interrupt();
} }
try { //try {
this.join(10000); // this.join(10000);
} catch (InterruptedException e) { //} catch (InterruptedException e) {
// restore the interrupted status // // restore the interrupted status
Thread.currentThread().interrupt(); // Thread.currentThread().interrupt();
} //}
} }
/** /**