mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
src: fix typo in env.cc
PR-URL: https://github.com/nodejs/node/pull/53418 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
This commit is contained in:
@@ -520,7 +520,7 @@ void IsolateData::CreateProperties() {
|
||||
CreateEnvProxyTemplate(this);
|
||||
}
|
||||
|
||||
constexpr uint16_t kDefaultCppGCEmebdderID = 0x90de;
|
||||
constexpr uint16_t kDefaultCppGCEmbedderID = 0x90de;
|
||||
Mutex IsolateData::isolate_data_mutex_;
|
||||
std::unordered_map<uint16_t, std::unique_ptr<PerIsolateWrapperData>>
|
||||
IsolateData::wrapper_data_map_;
|
||||
@@ -540,7 +540,7 @@ IsolateData::IsolateData(Isolate* isolate,
|
||||
new PerIsolateOptions(*(per_process::cli_options->per_isolate)));
|
||||
v8::CppHeap* cpp_heap = isolate->GetCppHeap();
|
||||
|
||||
uint16_t cppgc_id = kDefaultCppGCEmebdderID;
|
||||
uint16_t cppgc_id = kDefaultCppGCEmbedderID;
|
||||
if (cpp_heap != nullptr) {
|
||||
// The general convention of the wrappable layout for cppgc in the
|
||||
// ecosystem is:
|
||||
|
||||
Reference in New Issue
Block a user