diff --git a/index.js b/index.js index 6194b4b..883daa3 100644 --- a/index.js +++ b/index.js @@ -92,6 +92,7 @@ Emitter.prototype.emit = function(event){ , callbacks = this.callbacks[event]; if (callbacks) { + callbacks = callbacks.slice(0); for (var i = 0, len = callbacks.length; i < len; ++i) { callbacks[i].apply(this, args); }