From 0791f0df4b44475a628163bc32ee542f6674630b Mon Sep 17 00:00:00 2001 From: atse Date: Thu, 4 Jul 2024 17:28:23 +0800 Subject: [PATCH] fixup! Try fix force-disconnections when autotuning --- pytec/pytec/gui/model/thermostat.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index 7cff0b5..f6e0119 100644 --- a/pytec/pytec/gui/model/thermostat.py +++ b/pytec/pytec/gui/model/thermostat.py @@ -51,7 +51,6 @@ class Thermostat(QObject, metaclass=PropertyMeta): "Encountered an error while updating parameter tree.", exc_info=True, ) - self._watch_task.cancel() _ = self.task.result() self.task = asyncio.create_task(self.update_params()) await asyncio.sleep(self._update_s)