From 4d3f766362ac0c5ed59731be19b98ae1bfd64e25 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Wed, 12 Jul 2023 16:54:17 +0200 Subject: [PATCH] assert self.server.loop --- matter_server/server/device_controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/matter_server/server/device_controller.py b/matter_server/server/device_controller.py index d5cf2ab5..d0604a19 100644 --- a/matter_server/server/device_controller.py +++ b/matter_server/server/device_controller.py @@ -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) )