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:
parent
a480f910fa
commit
c0251c2e68
@ -1588,7 +1588,8 @@ async def async_start_web_server(args):
|
|||||||
if ping_status_thread:
|
if ping_status_thread:
|
||||||
ping_status_thread.join()
|
ping_status_thread.join()
|
||||||
MDNS_CONTAINER.set_mdns(None)
|
MDNS_CONTAINER.set_mdns(None)
|
||||||
mdns_task.cancel()
|
if mdns_task:
|
||||||
|
mdns_task.cancel()
|
||||||
if settings.status_use_mqtt:
|
if settings.status_use_mqtt:
|
||||||
status_thread_mqtt.join()
|
status_thread_mqtt.join()
|
||||||
MQTT_PING_REQUEST.set()
|
MQTT_PING_REQUEST.set()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user