mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
Reinsert System.exit after clean shutdown to make sure we do exit
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@575 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
87a979e4e0
commit
089f3fca33
@ -197,6 +197,8 @@ public class AwtGatewayTray implements DavGatewayTrayInterface {
|
||||
if (logBrokerMonitor != null) {
|
||||
logBrokerMonitor.dispose();
|
||||
}
|
||||
// make sure we do exit
|
||||
System.exit(0);
|
||||
}
|
||||
};
|
||||
// create menu item for the exit action
|
||||
|
@ -184,6 +184,8 @@ public class FrameGatewayTray implements DavGatewayTrayInterface {
|
||||
if (logBrokerMonitor != null) {
|
||||
logBrokerMonitor.dispose();
|
||||
}
|
||||
// make sure we do exit
|
||||
System.exit(0);
|
||||
}
|
||||
};
|
||||
// create menu item for the exit action
|
||||
|
@ -266,6 +266,7 @@ public class SwtGatewayTray implements DavGatewayTrayInterface {
|
||||
|
||||
if (trayItem != null) {
|
||||
trayItem.dispose();
|
||||
trayItem = null;
|
||||
}
|
||||
|
||||
if (image != null) {
|
||||
@ -281,6 +282,8 @@ public class SwtGatewayTray implements DavGatewayTrayInterface {
|
||||
if (logBrokerMonitor != null) {
|
||||
logBrokerMonitor.dispose();
|
||||
}
|
||||
// make sure we do exit
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
}.start();
|
||||
|
Loading…
x
Reference in New Issue
Block a user