Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion roborock/cloud_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ async def async_disconnect(self) -> None:
if disconnected_future := self._sync_disconnect():
# There are no errors set on this future
await disconnected_future
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
self.event_loop.run_in_executor(None, self._mqtt_client.loop_stop)

async def async_connect(self) -> None:
async with self._mutex:
Expand Down
Loading