proletariatgames / unreal.hx

Unreal.hx: Haxe Integration for Unreal
MIT License
424 stars 43 forks source link

Do not check for PendingKill when Unreal GC happens #108

Closed waneck closed 6 years ago

waneck commented 6 years ago

Right now, we check if a object is pending kill right after the GC to determine what objects should be set as invalid. I'm not sure this is a good approach, as IsValidLowLevel() doesn't check that, and isValid should only tell if the underlying object is still alive in C++, so that people can themselves call e.g. IsValidLowLevel