Skip to content

Commit 3cd93d0

Browse files
committed
fix napi_post_finalizer args
1 parent f8e92ab commit 3cd93d0

2 files changed

Lines changed: 1 addition & 37 deletions

File tree

test-app/runtime/src/main/cpp/modules/url/URLSearchParams.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ namespace {
196196
// is illegal there).
197197
napi_add_finalizer(env, iterator, st, [](napi_env env, void *d, void *) {
198198
#ifdef __V8__
199-
node_api_post_finalizer(e, [](napi_env env, void *d, void *) {
199+
node_api_post_finalizer(env, [](napi_env env, void *d, void *) {
200200
#endif
201201
auto *s = static_cast<IterState *>(d);
202202
napi_delete_reference(env, s->src);

test-app/runtime/src/main/cpp/napi/primjs/napi_state.h

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)