Skip to content

Commit 3dab799

Browse files
committed
fix(connection): Fix crashlooping
1 parent cff1b80 commit 3dab799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connection.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ module.exports = function (RED) {
2929
}
3030
}
3131

32-
this.registerChildNode = async function (nodeId, callbacks) {
32+
this.registerChildNode = function (nodeId, callbacks) {
3333
if (Object.keys(this.childNodes).length == 0) {
3434
//first child node is registering!
35-
await this.connectAndSubscribe()
35+
this.connectAndSubscribe()
3636
}
3737

3838
this.childNodes[nodeId] = callbacks

0 commit comments

Comments
 (0)