SIGN IN SIGN UP
socketio / socket.io UNCLAIMED

Realtime application framework (Node.JS server)

0 0 0 TypeScript

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.
B
Ben Ripkens committed
aa2e57acc7a5e7c8642cb70c8862785ddfc220ca
Parent: 4d18307