Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
agners committed Sep 4, 2024
1 parent 69a20c4 commit 2ab5604
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions matter_server/server/device_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ async def stop(self) -> None:
scan_task.cancel()
if self._aiozc:
await self._aiozc.async_close()
# Ensure any in-progress setup tasks are cancelled
for task in self._setup_node_with_retry_tasks.values():
task.cancel()

Expand Down

0 comments on commit 2ab5604

Please sign in to comment.