Skip to content

Commit

Permalink
[unity]上个commit漏提交代码
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed May 8, 2024
1 parent c333e46 commit 63743f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions unity/native_src/Src/BackendEnv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -825,14 +825,12 @@ v8::MaybeLocal<v8::Module> FBackendEnv::ResolveModuleCallback(
{
return v8::MaybeLocal<v8::Module>();
}
assert(module_info_iter != self->ScriptIdToModuleInfo.end());
auto ref_module_iter = module_info_iter->second->ResolveCache.find(*(v8::String::Utf8Value(isolate, specifier)));
if (ref_module_iter == module_info_iter->second->ResolveCache.end())
{
return v8::MaybeLocal<v8::Module>();
}
//fprintf(stderr, "e m:%s, e:%d\n", *(v8::String::Utf8Value(isolate, specifier)), ref_module_iter != module_info_iter->second->ResolveCache.end());
assert(ref_module_iter != module_info_iter->second->ResolveCache.end());
return ref_module_iter->second.Get(isolate);
}

Expand Down

0 comments on commit 63743f3

Please sign in to comment.