Skip to content

Commit 901e10a

Browse files
committed
fixup! fixup! src: always use strong reference to napi_async_context resource
1 parent 952ff75 commit 901e10a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_api.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ class AsyncContext {
604604

605605
explicit HeapAllocatedCallbackScope(AsyncContext* async_context)
606606
: cs_(async_context->node_env(),
607-
&async_context->resource_storage_,
607+
&async_context->resource_,
608608
async_context->async_context()) {}
609609

610610
private:

0 commit comments

Comments
 (0)