mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-04 14:52:24 -05:00
Fix NullPointerException in thread "Shutdown" - tray disposal - server mode
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2204 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
e6ff19fb71
commit
124a252d36
@ -291,6 +291,8 @@ public final class DavGatewayTray {
|
||||
}
|
||||
|
||||
public static void dispose() {
|
||||
davGatewayTray.dispose();
|
||||
if (davGatewayTray != null) {
|
||||
davGatewayTray.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user