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();
}
try {
this.join(10000);
} catch (InterruptedException e) {
// restore the interrupted status
Thread.currentThread().interrupt();
}
//try {
// this.join(10000);
//} catch (InterruptedException e) {
// // restore the interrupted status
// Thread.currentThread().interrupt();
//}
}
/**