aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/jogamp/common/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/jogamp/common/util')
-rw-r--r--src/java/jogamp/common/util/locks/SingletonInstanceServerSocket.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/jogamp/common/util/locks/SingletonInstanceServerSocket.java b/src/java/jogamp/common/util/locks/SingletonInstanceServerSocket.java
index fb31ab6..c4f9564 100644
--- a/src/java/jogamp/common/util/locks/SingletonInstanceServerSocket.java
+++ b/src/java/jogamp/common/util/locks/SingletonInstanceServerSocket.java
@@ -171,7 +171,6 @@ public class SingletonInstanceServerSocket extends SingletonInstance {
if(alive) {
System.err.println(infoPrefix()+" EEE "+getName()+" - Unable to remove lock: ServerThread still alive ?");
kill();
- alive = false;
}
return true;
}
@@ -185,6 +184,7 @@ public class SingletonInstanceServerSocket extends SingletonInstance {
if(alive) {
System.err.println(infoPrefix()+" XXX "+getName()+" - Kill @ JVM Shutdown");
}
+ alive = false;
if(null != serverThread) {
try {
serverThread.stop();