Cancel task to stop watch

This commit is contained in:
atse 2023-07-06 13:00:53 +08:00
parent c261ca2447
commit a55589415d

View File

@ -57,6 +57,7 @@ class ClientWatcher(QObject):
@pyqtSlot()
def stop_watching(self):
self.running = False
self.watch_task.cancel()
@pyqtSlot()
def set_update_s(self, update_s):