Fix memory leak in huawei_lte (#49470)

This commit is contained in:
J. Nick Koston 2021-04-20 06:14:34 -10:00 committed by GitHub
parent 7791670607
commit 8537076917
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -445,7 +445,9 @@ async def async_setup_entry(hass: HomeAssistantType, config_entry: ConfigEntry)
)
# Clean up at end
config_entry.async_on_unload(
hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, router.cleanup)
)
return True