greghesp / ha-bambulab

A Home Assistant Integration for Bambu Lab Printers
1.04k stars 91 forks source link

Start threads as daemon #697

Closed kanflo closed 2 weeks ago

kanflo commented 2 weeks ago

Sorry for the multitude of PRs. This PR starts the WatchdogThread, the ChamberImageThread and MqttThread in daemon mode meaning they will exit when the main thread exits. I had issues with my Python program not quitting when I wanted it to.