diff --git a/js/ElectrodeBridge.js b/js/ElectrodeBridge.js index 7cc41ee5..30a28256 100644 --- a/js/ElectrodeBridge.js +++ b/js/ElectrodeBridge.js @@ -162,7 +162,7 @@ class ElectrodeBridge extends EventEmitter { uuid /*:string */ ) /*:EventEmitter*/ { const event = this.eventListenerUUIDRef.get(uuid) if(event) { - this.eventListenerUUIDRef.remove(uuid) + this.eventListenerUUIDRef.delete(uuid) return this.removeListener(event.name, event.handler) } }