This commit is contained in:
tuxgyver
2026-06-29 10:19:16 +02:00
parent 2f9ca6b553
commit ea2e6d772b
5 changed files with 82 additions and 33 deletions
+10
View File
@@ -108,4 +108,14 @@ class SystemTray(QSystemTrayIcon):
def _quit(self):
self._poll.stop()
try:
if wg_core.is_connected(self._cfg):
wg_core.disconnect(self._cfg)
except Exception:
pass
self._win._status_timer.stop()
self._win._clock_timer.stop()
self._win._bw_timer.stop()
self._win._ping_timer.stop()
self._win._reconnect_timer.stop()
QApplication.quit()