Skip to content

Commit

Permalink
Merge branch 'Tencent:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoChenFx authored Dec 12, 2024
2 parents 5d90b81 + 7a853d2 commit e8aadfc
Show file tree
Hide file tree
Showing 13 changed files with 174 additions and 162 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,10 @@ static Il2CppGCHandle* FindOrCreateHandleStoreOfValue(struct pesapi_ffi* apis, p
{
*out_object = il2cpp::gc::GCHandle::GetTarget(*res);
//PLog("found existed jsobject:%p", *out_object);
if (out_object == nullptr)
{
value_ref = apis->duplicate_value_ref(value_ref);
}
}

*out_value_ref = value_ref;
Expand Down

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions unity/Assets/webgl/upm/Javascripts~/PuertsDLLMock/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ global.PuertsWebGL = {
LogicTick: function (isolate: IntPtr) { },
SetLogCallback: function (log: IntPtr, logWarning: IntPtr, logError: IntPtr) {

},
GetJSStackTrace: function (isolate: IntPtr) {
return new Error().stack;
}
}
)
Expand Down
15 changes: 7 additions & 8 deletions unreal/Puerts/Content/JavaScript/PuertsEditor/CodeAnalyze.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

67 changes: 32 additions & 35 deletions unreal/Puerts/Content/JavaScript/PuertsEditor/TypeScriptInternal.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading

0 comments on commit e8aadfc

Please sign in to comment.