mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
This is because it would call the javascript initializer which executed Promise::New, and then it would rewrap the handle. Instead I make an explicit inheritance from EIOPromise to Promise. This seems to fix a memory leak which was reported by Ray Morgan: http://groups.google.com/group/nodejs/browse_thread/thread/e38949b1989da1d7