Skip to content

Commit

Permalink
assert self.server.loop
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Jul 12, 2023
1 parent e8a1005 commit 4d3f766
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 @@ -707,6 +707,7 @@ def resubscription_attempted(
# https://github.com/project-chip/connectedhomeip/pull/26718
sub.Shutdown()
self._subscriptions.pop(node_id)
assert self.server.loop
self.server.loop.create_task(
self._check_interview_and_subscription(node_id, MAX_POLL_INTERVAL)
)
Expand Down

0 comments on commit 4d3f766

Please sign in to comment.