node/test/node-api/test_threadsafe_function_abort/binding.gyp
Kevin Eady 2503408b08
node-api: execute tsfn finalizer after queue drains when aborted
A threadsafe function may utilize its context in its `call_js` callback.
The context should be valid during draining of the queue when the
threadsafe function is aborted.

Fixes: https://github.com/nodejs/node/issues/60026
PR-URL: https://github.com/nodejs/node/pull/61956
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2026-04-17 15:10:21 +00:00

11 lines
245 B
Python

{
"targets": [
{
"target_name": "binding",
"sources": ["binding.cc"],
"cflags_cc": ["--std=c++20"],
'cflags!': [ '-fno-exceptions', '-fno-rtti' ],
'cflags_cc!': [ '-fno-exceptions', '-fno-rtti' ],
}
]
}