aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 996fd08..3cb36d9 100644
--- a/src/java/com/jogamp/common/util/WorkerThread.java
+++ b/src/java/com/jogamp/common/util/WorkerThread.java
@@ -50,7 +50,6 @@ public class WorkerThread {
private volatile boolean shallPause = true;
private volatile boolean shallStop = false;
- private Exception streamErr = null;
private final Duration minPeriod;
private final boolean useMinPeriod;
private final Callback cbWork;
@@ -238,6 +237,7 @@ public class WorkerThread {
}
while( !shallStop ) {
+ Exception streamErr = null;
try {
if( shallPause ) {
synchronized ( WorkerThread.this ) {