Bugfix for shared state

This commit is contained in:
Olivier Verhaegen 2023-04-12 16:32:43 +02:00 committed by GitHub
parent 5ad99c5463
commit b84508b52b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,10 +14,10 @@ module.exports = function(RED) {
this.reconnectretries = n.reconnectretries || 999999;
this.reconnectdelay = (n.reconnectdelay || 15) * 1000;
this.name = n.name;
this.clientConnection = n.clientConnection;
this.connected = n.connected;
this.username = this.credentials.user;
this.password = this.credentials.password;
this.clientConnection = null;
this.connected = false;
}
RED.nodes.registerType("stomp-server",StompServerNode,{
credentials: {