fix: use mqtt last will #84

This commit is contained in:
leukipp
2025-10-07 09:59:48 +02:00
parent 5d012bd637
commit 19e51e349c
3 changed files with 22 additions and 7 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ const init = async () => {
* Updates the shared hardware properties.
*/
const update = async () => {
if (!HARDWARE.initialized) {
if (!HARDWARE.initialized || APP.exiting) {
return;
}