HenrikJoreteg / wildemitter

A super lightweight EventEmitter similar to what comes in Node.js, but with a support for wildcard events '*'
MIT License
213 stars 21 forks source link

Fix error when the callbacks array changes size while processing an event. #2

Closed legastero closed 11 years ago

legastero commented 11 years ago

Making an event handler release groups which affect the event being processed, kind of broke things.

(Needed to make things work for stanza.io with reconnecting and not duplicating event handlers)