v0.6.0b: removed usage of thread state checking logic, too unreliable
This commit is contained in:
parent
804c3aea83
commit
4467146d33
|
@ -426,7 +426,7 @@ public class GameScene extends PixelScene {
|
||||||
ShatteredPixelDungeon.reportException(e);
|
ShatteredPixelDungeon.reportException(e);
|
||||||
}
|
}
|
||||||
synchronized (actorThread) {
|
synchronized (actorThread) {
|
||||||
if (actorThread.getState() != Thread.State.WAITING) {
|
if (Actor.processing()) {
|
||||||
Throwable t = new Throwable();
|
Throwable t = new Throwable();
|
||||||
t.setStackTrace(actorThread.getStackTrace());
|
t.setStackTrace(actorThread.getStackTrace());
|
||||||
throw new RuntimeException("timeout waiting for actor thread! ", t);
|
throw new RuntimeException("timeout waiting for actor thread! ", t);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user