This commit is contained in:
znetsixe
2026-02-23 13:17:14 +01:00
parent 00858eb853
commit 38013a86db

View File

@@ -264,7 +264,7 @@ try{
} catch (error) { } catch (error) {
this.node.error(`Error handling input (${msg?.topic}): ${error?.message || error}`); this.node.error(`Error handling input (${msg?.topic}): ${error?.message || error}`);
} finally { } finally {
done(); if (typeof done === 'function') done();
} }
}); });
} }
@@ -276,7 +276,7 @@ try{
this.node.on('close', (done) => { this.node.on('close', (done) => {
clearInterval(this._tickInterval); clearInterval(this._tickInterval);
clearInterval(this._statusInterval); clearInterval(this._statusInterval);
done(); if (typeof done === 'function') done();
}); });
} }
} }