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();
|
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();
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user