From d09922ce9e8348f4bb083e09802500311d7af55f Mon Sep 17 00:00:00 2001 From: Mert Can Altin Date: Sat, 29 Nov 2025 17:28:27 +0300 Subject: [PATCH] src: add HandleScope to edge loop in heap_utils --- src/heap_utils.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/heap_utils.cc b/src/heap_utils.cc index 7b93698c7fe125..4708e57e2bb9bb 100644 --- a/src/heap_utils.cc +++ b/src/heap_utils.cc @@ -180,6 +180,7 @@ class JSGraph : public EmbedderGraph { size_t i = 0; size_t j = 0; for (const auto& edge : edge_info.second) { + HandleScope handle_scope(isolate_); Local to_object = info_objects[edge.second]; Local edge_obj = Object::New(isolate_); Local edge_name_value;