diff --git a/src/EventEmitter.ts b/src/EventEmitter.ts index 80bd3035..d05e3863 100644 --- a/src/EventEmitter.ts +++ b/src/EventEmitter.ts @@ -44,7 +44,7 @@ export class EventEmitter { public once(type, listener): any { function on() { let args = Array.prototype.slice.call(arguments); - this.removeListener(type, on); + this.off(type, on); return listener.apply(this, args); } (on).listener = listener;