node/test/addons/dlopen-ping-pong
Anna Henningsen 8ebd339031
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-22 21:42:09 +01:00
..
binding.cc test: fix NewFromUtf8 compiler warning 2018-11-09 21:26:31 -08:00
binding.gyp test, tools: suppress addon function cast warnings 2019-02-01 14:08:20 +01:00
ping.c src: add support to pass flags to dlopen 2017-09-08 17:14:03 -04:00
test-worker.js worker: improve integration with native addons 2019-02-22 21:42:09 +01:00
test.js test: clean up string concat in dlopen-ping-pong 2017-10-11 14:29:44 +05:30