events: move EE c'tor guts to EventEmitter.init
After landing 6ed861dd it is no longer possible to reliably monkey-patch the EventEmitter constructor. However there's valid use cases for that, and makes for easier debugging. Therefore, move the guts of the constructor to a separate function which is monkey-patchable. Closes #6693
parent
f030d842
Please register or sign in to comment