Skip to content

Commit d09922c

Browse files
committed
src: add HandleScope to edge loop in heap_utils
1 parent d1ab5ef commit d09922c

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
@@ -180,6 +180,7 @@ class JSGraph : public EmbedderGraph {
180180
size_t i = 0;
181181
size_t j = 0;
182182
for (const auto& edge : edge_info.second) {
183+
HandleScope handle_scope(isolate_);
183184
Local<Object> to_object = info_objects[edge.second];
184185
Local<Object> edge_obj = Object::New(isolate_);
185186
Local<Value> edge_name_value;

0 commit comments

Comments
 (0)