From 3357b9945d02b3b70b2432b67e73200ec78d5690 Mon Sep 17 00:00:00 2001 From: Austin Kelleher Date: Thu, 24 Feb 2022 06:56:24 -0500 Subject: [PATCH] node-api: fix lambda typo in node_api.cc comment --- src/node_api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_api.cc b/src/node_api.cc index b1b85073508672..82e228bb954d5a 100644 --- a/src/node_api.cc +++ b/src/node_api.cc @@ -36,7 +36,7 @@ v8::Maybe node_napi_env__::mark_arraybuffer_as_untransferable( void node_napi_env__::CallFinalizer(napi_finalize cb, void* data, void* hint) { // we need to keep the env live until the finalizer has been run // EnvRefHolder provides an exception safe wrapper to Ref and then - // Unref once the lamba is freed + // Unref once the lambda is freed EnvRefHolder liveEnv(static_cast(this)); node_env()->SetImmediate( [=, liveEnv = std::move(liveEnv)](node::Environment* node_env) {