refactor: allocate gin_helper::internal::Event on cpp heap (#48161)

This commit is contained in:
Robo
2025-08-27 09:30:50 +09:00
committed by GitHub
parent 3b9130d815
commit e0db4046b2
15 changed files with 156 additions and 116 deletions

View File

@@ -644,7 +644,8 @@ void NodeBindings::Initialize(v8::Isolate* const isolate,
SetErrorMode(GetErrorMode() & ~SEM_NOGPFAULTERRORBOX);
#endif
gin_helper::internal::Event::GetConstructor(isolate, context);
gin_helper::internal::Event::GetConstructor(
isolate, context, &gin_helper::internal::Event::kWrapperInfo);
g_is_initialized = true;
}