mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-12 22:18:11 -05:00
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:
parent
d4ffe34bee
commit
e6aaafa508
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user