Shutdown MacOS system tray icon

This commit is contained in:
JonnyWong16
2020-04-25 21:30:15 -07:00
parent eb6cb60ee3
commit fafe28a6d6

View File

@@ -2188,6 +2188,8 @@ def shutdown(restart=False, update=False, checkout=False, reset=False):
if WIN_SYS_TRAY_ICON:
WIN_SYS_TRAY_ICON.shutdown()
elif MAC_SYS_TRAY_ICON:
MAC_SYS_TRAY_ICON.shutdown()
if restart:
logger.info("Tautulli is restarting...")