Skip to content

Commit ca8ba15

Browse files
cjihrigMylesBorins
authored andcommitted
n-api: fix compiler warning
private field 'async_context' is not used [-Wunused-private-field] PR-URL: #21597 Refs: #17887 Backport-PR-URL: #25002 Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]>
1 parent 64f232c commit ca8ba15

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/node_api.cc

-1
Original file line numberDiff line numberDiff line change
@@ -3920,7 +3920,6 @@ class TsFn: public node::AsyncResource {
39203920
void* finalize_data;
39213921
napi_finalize finalize_cb;
39223922
bool idle_running;
3923-
napi_async_context async_context;
39243923
napi_threadsafe_function_call_js call_js_cb;
39253924
bool handles_closing;
39263925
};

0 commit comments

Comments
 (0)