Skip to content

Commit ab96610

Browse files
committed
Merge remote-tracking branch 'remotes/origin/master' into develop
2 parents 6cbc7e0 + f3016b2 commit ab96610

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Plugins/UnLua/Source/UnLua/Private/ReflectionUtils/ClassDesc.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,14 @@ void FClassDesc::GetInheritanceChain(TArray<FClassDesc*>& DescChain)
167167
void FClassDesc::Load()
168168
{
169169
if (Struct.IsValid())
170+
{
171+
return;
172+
}
173+
174+
if (GIsGarbageCollecting)
175+
{
170176
return;
177+
}
171178

172179
UnLoad();
173180

0 commit comments

Comments
 (0)