update
This commit is contained in:
@@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user