Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid memory leaks by remove event arrays
When subscribing and then unsubscribing from many different types of events, it can be observed that the `Emitter._callbacks` object starts to grow. This happens because, when unsubscribing, the event specific event array is not removed when the last subscriber unsubscribes.
- Loading branch information