diff options
author | Sven Gothel <[email protected]> | 2023-09-20 00:06:52 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-09-20 00:06:52 +0200 |
commit | dbacecc077fe44142d7ed1ba74a41d5e50cd8dc8 (patch) | |
tree | bd298762bdf1056d12ebee2f03b73c66ccadc6e0 /src | |
parent | fedfc22ba3a3583a3ecf4b55f7f8a822045b690c (diff) |
WorkerThread: Move 'streamErr' Exception to local Runnable
Diffstat (limited to 'src')
-rw-r--r-- | src/java/com/jogamp/common/util/WorkerThread.java | 2 |
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 ) { |