Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/identifier/LoggingThreadFactory.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/identifier/LoggingThreadFactory.java b/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/identifier/LoggingThreadFactory.java
index 9065201e7..482c95da5 100644
--- a/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/identifier/LoggingThreadFactory.java
+++ b/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/identifier/LoggingThreadFactory.java
@@ -35,6 +35,7 @@ public class LoggingThreadFactory implements ThreadFactory {
ThreadFactory defaultThreadFactory = Executors.defaultThreadFactory();
Thread thread = defaultThreadFactory.newThread(r);
thread.setUncaughtExceptionHandler(eh);
+ thread.setDaemon(true);
thread.setName(name + "-" + thread.getId());
return thread;
}

Back to the top