update
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user