commit | 3d5d4e657abb2e0117ec5481c0991a8b88916e0f | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Wed Sep 23 13:20:34 2009 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Wed Sep 23 13:20:34 2009 +0000 |
tree | e79dde722273d37894d01a335a0e88819a492da2 | |
parent | 87db61cdda93c2bfdc76443cec76372cba6d30bc [diff] |
Give a name to the shutdown hook thread. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@818094 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/main/src/main/java/org/apache/felix/main/Main.java b/main/src/main/java/org/apache/felix/main/Main.java index 67296c0..f2e75b6 100644 --- a/main/src/main/java/org/apache/felix/main/Main.java +++ b/main/src/main/java/org/apache/felix/main/Main.java
@@ -260,7 +260,7 @@ String enableHook = configProps.getProperty(SHUTDOWN_HOOK_PROP); if ((enableHook == null) || !enableHook.equalsIgnoreCase("false")) { - Runtime.getRuntime().addShutdownHook(new Thread() { + Runtime.getRuntime().addShutdownHook(new Thread("Felix Shutdown Hook") { public void run() { try