From d8cfde947d1606c7e802145aca3a8fde6ad79f4d Mon Sep 17 00:00:00 2001 From: astrot1988 Date: Mon, 20 Jan 2025 18:08:02 +0300 Subject: [PATCH 1/2] fix: maxEventListeners exception --- src/BusHelper.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/BusHelper.js b/src/BusHelper.js index f29da07..61326a0 100644 --- a/src/BusHelper.js +++ b/src/BusHelper.js @@ -87,8 +87,7 @@ class BusHelper extends EventEmitter { } async children () { - this._ready = false // WORKAROUND: it forces to construct a new ProxyObject - await this._prepare() + this..removeListeners() return BusHelper.buildChildren(this.object, this._objectProxy.nodes) } From 6e18b2acdfb85e87a632fb30c80a1c249fce12fb Mon Sep 17 00:00:00 2001 From: astrot1988 Date: Mon, 20 Jan 2025 18:12:31 +0300 Subject: [PATCH 2/2] fix: maxEventListeners exception --- src/BusHelper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BusHelper.js b/src/BusHelper.js index 61326a0..5d44d50 100644 --- a/src/BusHelper.js +++ b/src/BusHelper.js @@ -87,7 +87,7 @@ class BusHelper extends EventEmitter { } async children () { - this..removeListeners() + this.removeListeners() return BusHelper.buildChildren(this.object, this._objectProxy.nodes) }