mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Fix missing await when running shutdown jobs (#106632)
This commit is contained in:
@@ -889,7 +889,7 @@ class HomeAssistant:
|
||||
continue
|
||||
tasks.append(task_or_none)
|
||||
if tasks:
|
||||
asyncio.gather(*tasks, return_exceptions=True)
|
||||
await asyncio.gather(*tasks, return_exceptions=True)
|
||||
except asyncio.TimeoutError:
|
||||
_LOGGER.warning(
|
||||
"Timed out waiting for shutdown jobs to complete, the shutdown will"
|
||||
|
||||
Reference in New Issue
Block a user