forked from M-Labs/thermostat
fixup! Try fix force-disconnections when autotuning
This commit is contained in:
parent
e8930a4b7e
commit
0791f0df4b
@ -51,7 +51,6 @@ class Thermostat(QObject, metaclass=PropertyMeta):
|
|||||||
"Encountered an error while updating parameter tree.",
|
"Encountered an error while updating parameter tree.",
|
||||||
exc_info=True,
|
exc_info=True,
|
||||||
)
|
)
|
||||||
self._watch_task.cancel()
|
|
||||||
_ = self.task.result()
|
_ = self.task.result()
|
||||||
self.task = asyncio.create_task(self.update_params())
|
self.task = asyncio.create_task(self.update_params())
|
||||||
await asyncio.sleep(self._update_s)
|
await asyncio.sleep(self._update_s)
|
||||||
|
Loading…
Reference in New Issue
Block a user