mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 04:05:06 +02:00
Run coordinator shutdown eagerly (#113174)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user