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>
6 lines
131 B
JavaScript
6 lines
131 B
JavaScript
'use strict';
|
|
|
|
const common = require('../../common');
|
|
const binding = require(`./build/${common.buildType}/binding`);
|
|
|
|
binding();
|