Skip to content

Commit 4aca853

Browse files
mmomtchevtargos
authored andcommitted
doc: fix the example for embedders
Refs: #42670 PR-URL: #42671 Fixes: #42670 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]>
1 parent bc356ab commit 4aca853

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/api/embedding.md

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ int RunNodeInstance(MultiIsolatePlatform* platform,
124124
{
125125
Locker locker(isolate);
126126
Isolate::Scope isolate_scope(isolate);
127+
HandleScope handle_scope(isolate);
127128
// The v8::Context needs to be entered when node::CreateEnvironment() and
128129
// node::LoadEnvironment() are being called.
129130
Context::Scope context_scope(setup->context());

0 commit comments

Comments
 (0)