mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
refactor: allocate gin_helper::internal::Event on cpp heap (#48161)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user