Closed basecode closed 10 years ago
This PR fixes a bug in EventEmitter where a Listener added via once is not removed correctly.
EventEmitter
once
This example results in an infinite loop.
obj.once('play', function() { obj.play(); })
This PR fixes a bug in
EventEmitter
where a Listener added viaonce
is not removed correctly.This example results in an infinite loop.