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

This commit is contained in:
Hannes Janetzek 2013-07-01 05:18:26 +02:00
parent 4993cf469d
commit dd757a1b95

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();
//}
}
/**