Skip to content

Commit

Permalink
[unity]尝试修复v2的ut测试
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Apr 8, 2024
1 parent 273efe9 commit fd48993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unity/native_src_il2cpp/Src/Puerts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ static v8::Value* GetModuleExecutor(v8::Context* env)
return *Func;
}

return nullptr;
return *v8::FunctionTemplate::New(Isolate, puerts::esmodule::ExecuteModule)->GetFunction(Context).ToLocalChecked();;
}

static void* GetJSObjectValue(const PersistentObjectInfo* objectInfo, const char* key, const void* Typeid)
Expand Down

0 comments on commit fd48993

Please sign in to comment.