mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix memory leak in hangouts (#49471)
This commit is contained in:
parent
8537076917
commit
76b59a3983
@ -125,7 +125,9 @@ async def async_setup_entry(hass, config):
|
||||
bot.async_update_conversation_commands,
|
||||
)
|
||||
|
||||
hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, bot.async_handle_hass_stop)
|
||||
config.async_on_unload(
|
||||
hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, bot.async_handle_hass_stop)
|
||||
)
|
||||
|
||||
await bot.async_connect()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user