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 f196c99 commit a6c87f1Copy full SHA for a6c87f1
plugwise_usb/network/__init__.py
@@ -553,6 +553,18 @@ async def stop(self) -> None:
553
for task in self._discover_sed_tasks.values():
554
if not task.done():
555
task.cancel()
556
+ if (
557
+ hasattr(self, "_load_stragglers_task")
558
+ and self._load_stragglers_task
559
+ and not self._load_stragglers_task.done()
560
+ ):
561
+ self._load_stragglers_task.cancel()
562
563
+ hasattr(self, "_discover_stragglers_task")
564
+ and self._discover_stragglers_task
565
+ and not self._discover_stragglers_task.done()
566
567
+ self._discover_stragglers_task.cancel()
568
self._is_running = False
569
self._unsubscribe_to_protocol_events()
570
await self._unload_discovered_nodes()
0 commit comments