forked from M-Labs/thermostat
Cancel task to stop watch
This commit is contained in:
parent
c261ca2447
commit
a55589415d
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue