Skip to content

Commit

Permalink
[unity]如果pesapi_value_ref的internal_fields非法,直接忽略
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Dec 5, 2024
1 parent db46fca commit 570917d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1874,11 +1874,11 @@ struct JsEnvPrivate
//PLog("AddPendingKillScriptObjects: %p", valueRef);
pendingKillRefs.insert(valueRef);
}
else
{
//else
//{
// pesapi_value_ref not alloc by puerts?
apis->release_value_ref(valueRef);
}
//apis->release_value_ref(valueRef);
//}
}

void CleanupPendingKillScriptObjects()
Expand Down

0 comments on commit 570917d

Please sign in to comment.