diff --git a/8dev_emulate/nodes/clientNodeInstance.js b/8dev_emulate/nodes/clientNodeInstance.js index e0121b6..1fe4df0 100644 --- a/8dev_emulate/nodes/clientNodeInstance.js +++ b/8dev_emulate/nodes/clientNodeInstance.js @@ -800,6 +800,7 @@ class ClientNodeInstance extends EventEmitter { return new Promise((started, failed) => { this.register(registrationPath) .then((updatesPath) => { + this.removeAllListeners('deregister'); this.on('deregister', () => { this.deregistrationHandle(updatesPath); });