Name shutdown thread

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@607 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-06-29 20:14:38 +00:00
parent d4ffe34bee
commit e6aaafa508
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class DavGateway {
// server mode: all threads are daemon threads, do not let main stop
if (Settings.getBooleanProperty("davmail.server")) {
Runtime.getRuntime().addShutdownHook(new Thread() {
Runtime.getRuntime().addShutdownHook(new Thread("Shutdown") {
@Override
public void run() {
DavGatewayTray.debug(new BundleMessage("LOG_GATEWAY_INTERRUPTED"));