diff --git a/src/dorkbox/systemTray/ui/awt/_AwtTray.java b/src/dorkbox/systemTray/ui/awt/_AwtTray.java index 61eb677..9cbe7cc 100755 --- a/src/dorkbox/systemTray/ui/awt/_AwtTray.java +++ b/src/dorkbox/systemTray/ui/awt/_AwtTray.java @@ -230,6 +230,13 @@ class _AwtTray extends Tray { }); super.remove(); + + // make sure this thread doesn't keep the JVM alive anymore + if (keepAliveThread != null) { + synchronized (keepAliveLock) { + keepAliveLock.notifyAll(); + } + } } };