aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java')
-rw-r--r--src/java/jogamp/common/util/locks/SingletonInstanceServerSocket.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/jogamp/common/util/locks/SingletonInstanceServerSocket.java b/src/java/jogamp/common/util/locks/SingletonInstanceServerSocket.java
index e5d0ae1..fe95ea7 100644
--- a/src/java/jogamp/common/util/locks/SingletonInstanceServerSocket.java
+++ b/src/java/jogamp/common/util/locks/SingletonInstanceServerSocket.java
@@ -131,8 +131,8 @@ public class SingletonInstanceServerSocket extends SingletonInstance {
public boolean start() {
if(alive) return true;
- Thread t = new Thread(this);
- t.setDaemon(false); // don't keep the JVM running ..
+ Thread t = new Thread(this, "SingletonInstanceServerSocket: "+getName());
+ t.setDaemon(true); // be a daemon, don't keep the JVM running
synchronized (syncOnStartStop) {
t.start();