Skip to content

Commit f107f8b

Browse files
austinkellehersxa
authored andcommitted
node-api: fix typo in node_api.cc
PR-URL: #42110 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 8b94ea6 commit f107f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_api.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ v8::Maybe<bool> node_napi_env__::mark_arraybuffer_as_untransferable(
3636
void node_napi_env__::CallFinalizer(napi_finalize cb, void* data, void* hint) {
3737
// we need to keep the env live until the finalizer has been run
3838
// EnvRefHolder provides an exception safe wrapper to Ref and then
39-
// Unref once the lamba is freed
39+
// Unref once the lambda is freed
4040
EnvRefHolder liveEnv(static_cast<napi_env>(this));
4141
node_env()->SetImmediate(
4242
[=, liveEnv = std::move(liveEnv)](node::Environment* node_env) {

0 commit comments

Comments
 (0)