mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Run coordinator shutdown eagerly (#113174)
This commit is contained in:
parent
9f19e7339d
commit
8bc3286343
@ -136,7 +136,7 @@ class DataUpdateCoordinator(BaseDataUpdateCoordinatorProtocol, Generic[_DataT]):
|
||||
await self.async_shutdown()
|
||||
|
||||
self._unsub_shutdown = self.hass.bus.async_listen_once(
|
||||
EVENT_HOMEASSISTANT_STOP, _on_hass_stop
|
||||
EVENT_HOMEASSISTANT_STOP, _on_hass_stop, run_immediately=True
|
||||
)
|
||||
|
||||
@callback
|
||||
|
Loading…
x
Reference in New Issue
Block a user