summaryrefslogtreecommitdiffstats
path: root/src/windows
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-11-12 13:29:51 +0100
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-11-26 13:02:45 +0100
commitc8674a4e93329855c510ff5d24589dabea0e3037 (patch)
treef1da3c6b1bd567251c0e1cb83f296756049d2e94 /src/windows
parent179d17cae83b9c22137a140c850a11f9f5dcfcc2 (diff)
windows: bind the systray process lifetime to ogClient
Add daemon=True to the systray process in order to make it close when the ogClient process closes.
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/ogOperations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/ogOperations.py b/src/windows/ogOperations.py
index 6178224..bdb2a39 100644
--- a/src/windows/ogOperations.py
+++ b/src/windows/ogOperations.py
@@ -66,7 +66,7 @@ class OgWindowsOperations:
def __init__(self):
freeze_support()
mp.set_start_method('spawn')
- self.systray_p = Process(target=create_systray)
+ self.systray_p = Process(target=create_systray, daemon=True)
self.systray_p.start()
def _restartBrowser(self, url):