We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e532052 commit 8312791Copy full SHA for 8312791
pylabrobot/heating_shaking/heater_shaker.py
@@ -32,3 +32,7 @@ def __init__(
32
model=model,
33
)
34
self.backend: HeaterShakerBackend = backend # fix type
35
+
36
+ async def stop(self):
37
+ await TemperatureController.stop(self)
38
+ await Shaker.stop(self)
pylabrobot/temperature_controlling/temperature_controller.py
@@ -102,6 +102,11 @@ async def deactivate(self):
102
self.target_temperature = None
103
return await self.backend.deactivate()
104
105
106
+ """Stop the temperature controller and close the backend connection."""
107
+ await self.deactivate()
108
+ await super().stop()
109
110
def serialize(self) -> dict:
111
return {
112
**Machine.serialize(self),
0 commit comments