commit | f7814466a9105fb515894a65329c00a189fe413c | [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 | f0a672db04e51cefbc9f927048b53c755363f11c [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