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 3c30d93 commit a8d4783Copy full SHA for a8d4783
roborock/cloud_api.py
@@ -158,7 +158,8 @@ async def async_disconnect(self) -> None:
158
if disconnected_future := self._sync_disconnect():
159
# There are no errors set on this future
160
await disconnected_future
161
- await self.event_loop.run_in_executor(None, self._mqtt_client.loop_stop)
+ # Stop the loop but don't wait for it to fully shutdown
162
+ self.event_loop.run_in_executor(None, self._mqtt_client.loop_stop)
163
164
async def async_connect(self) -> None:
165
async with self._mutex:
0 commit comments