aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp')
-rw-r--r--src/java/com/jogamp/common/util/WorkerThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/util/WorkerThread.java b/src/java/com/jogamp/common/util/WorkerThread.java
index 42466da..6b65e1c 100644
--- a/src/java/com/jogamp/common/util/WorkerThread.java
+++ b/src/java/com/jogamp/common/util/WorkerThread.java
@@ -168,7 +168,7 @@ public class WorkerThread {
while( !isSet(RUNNING) && null != thread && !isSet(SHALL_STOP) ) {
this.wait(); // wait until started
}
- while( isSet(RUNNING) && isSet(ACTIVE) && null != thread && !isSet(SHALL_STOP) ) {
+ while( isSet(RUNNING | ACTIVE) && null != thread && !isSet(SHALL_STOP) ) {
this.wait(); // wait until paused
}
}