Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
singletons that are retroactively turned into EventEmitters should ca… #10995
At the end of that debugging session we'd decided to defer the singletons' instantiation until after
Unfortunately that's not going to work. Calling
EventEmitter() defers its initialization to an
So after much prologue (and more digging and learning how native_mate works), we actually wind up with a pretty small & simple patch. after reparenting the singletons' prototypes, we call the parent's constructor...
Here is a list of things that will help get it across the finish line:
Not all the EventEmitters -- just those that have singletons instantiated on the C++ side and passed along the bridge.
EventEmitter subclasses that are designed to be instantiated on the JS side with