Will UClass Object be GC?

落霜沐桜
Fri, 06 Sep 2024 08:35:22 +0000
C++

I wrote a TMap<UClass*, int32>. But the key could be pointing to a UClass that is defined in a dynamicly loaded module. So if that module got unloaded, will that UClass* become a dangling pointer? Or I can expect that once a UClass* is created in memory, it never got gc?

1 post - 1 participant