fixup! Try fix force-disconnections when autotuning

This commit is contained in:
atse 2024-07-04 17:28:23 +08:00
parent e8930a4b7e
commit 0791f0df4b

View File

@ -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)