mirror of https://git.48k.eu/ogclient
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.master
parent
179d17cae8
commit
c8674a4e93
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue