Skip to content

Commit bd48ad9

Browse files
austinkelleherdanielleadams
authored andcommitted
node-api: fix typo in node_api.cc
PR-URL: #42110 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 12bf85a commit bd48ad9

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
@@ -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)