n-api: fix compiler warning
private field 'async_context' is not used [-Wunused-private-field] PR-URL: https://github.com/nodejs/node/pull/21597 Refs: https://github.com/nodejs/node/pull/17887 Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
This commit is contained in:
parent
2ae45240a2
commit
a27b0a35bd
@ -3883,7 +3883,6 @@ class TsFn: public node::AsyncResource {
|
|||||||
void* finalize_data;
|
void* finalize_data;
|
||||||
napi_finalize finalize_cb;
|
napi_finalize finalize_cb;
|
||||||
bool idle_running;
|
bool idle_running;
|
||||||
napi_async_context async_context;
|
|
||||||
napi_threadsafe_function_call_js call_js_cb;
|
napi_threadsafe_function_call_js call_js_cb;
|
||||||
bool handles_closing;
|
bool handles_closing;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user