From ce8a9221bca5a8c14d417875d902c91b6f92ac59 Mon Sep 17 00:00:00 2001 From: Alex Terrell Date: Thu, 9 Nov 2023 14:25:02 -0700 Subject: [PATCH] Update mqtt_app.py --- mqtt_app/mqtt_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqtt_app/mqtt_app.py b/mqtt_app/mqtt_app.py index e1ec8799..714ed96e 100755 --- a/mqtt_app/mqtt_app.py +++ b/mqtt_app/mqtt_app.py @@ -144,5 +144,5 @@ def start_mqtt(): cp.log('Starting...') -mqtt_thread = Thread(target=start_mqtt, args=()).start() +mqtt_thread = Thread(target=start_mqtt, daemon=True, args=()).start() publish_thread()