Skip to content

Commit 0d90052

Browse files
committed
src: add HandleScope
1 parent 3b0d160 commit 0d90052

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/heap_utils.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ class JSGraph : public EmbedderGraph {
183183
size_t i = 0;
184184
size_t j = 0;
185185
for (const auto& edge : edge_info.second) {
186+
HandleScope handle_scope(isolate_);
186187
Local<Object> to_object = info_objects[edge.second];
187188
Local<Object> edge_obj = Object::New(isolate_);
188189
Local<Value> edge_name_value;

0 commit comments

Comments
 (0)