1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-21 01:58:16 +00:00

fix: missing if

This commit is contained in:
J. Nick Koston 2023-11-13 18:27:49 -06:00
parent a480f910fa
commit c0251c2e68
No known key found for this signature in database

View File

@ -1588,6 +1588,7 @@ async def async_start_web_server(args):
if ping_status_thread:
ping_status_thread.join()
MDNS_CONTAINER.set_mdns(None)
if mdns_task:
mdns_task.cancel()
if settings.status_use_mqtt:
status_thread_mqtt.join()