mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Fix dangling task for roon (#88291)
This commit is contained in:
@@ -66,7 +66,9 @@ class RoonServer:
|
||||
)
|
||||
|
||||
# Initialize Roon background polling
|
||||
asyncio.create_task(self.async_do_loop())
|
||||
self.config_entry.async_on_unload(
|
||||
asyncio.create_task(self.async_do_loop()).cancel
|
||||
)
|
||||
|
||||
return True
|
||||
|
||||
|
Reference in New Issue
Block a user