node/test/addons/worker-addon
Anna Henningsen a9a2c5869c worker: improve integration with native addons
Allow loading add-ons from multiple Node.js instances if they are
declared context-aware; in particular, this applies to N-API addons.

Also, plug a memory leak that occurred when registering N-API addons.

Refs: https://github.com/nodejs/node/pull/23319

PR-URL: https://github.com/nodejs/node/pull/26175
Fixes: https://github.com/nodejs/node/issues/21481
Fixes: https://github.com/nodejs/node/issues/21783
Fixes: https://github.com/nodejs/node/issues/25662
Fixes: https://github.com/nodejs/node/issues/20239
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
2019-02-28 23:35:37 +11:00
..
binding.cc worker: improve integration with native addons 2019-02-28 23:35:37 +11:00
binding.gyp test, tools: suppress addon function cast warnings 2019-02-01 16:22:23 +01:00
test.js worker: improve integration with native addons 2019-02-28 23:35:37 +11:00