Skip to content

Commit a27b0a3

Browse files
committed
n-api: fix compiler warning
private field 'async_context' is not used [-Wunused-private-field] PR-URL: #21597 Refs: #17887 Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]>
1 parent 2ae4524 commit a27b0a3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/node_api.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3883,7 +3883,6 @@ class TsFn: public node::AsyncResource {
38833883
void* finalize_data;
38843884
napi_finalize finalize_cb;
38853885
bool idle_running;
3886-
napi_async_context async_context;
38873886
napi_threadsafe_function_call_js call_js_cb;
38883887
bool handles_closing;
38893888
};

0 commit comments

Comments
 (0)