infinite loop on stop: this was wrong.. not sure about the right solution
This commit is contained in:
parent
4993cf469d
commit
dd757a1b95
@ -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();
|
||||
//}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user