| 215 | } |
| 216 | |
| 217 | void FLuaEnv::NotifyUObjectDeleted(const UObjectBase* ObjectBase, int32 Index) |
| 218 | { |
| 219 | UObject* Object = (UObject*)ObjectBase; |
| 220 | PropertyRegistry->NotifyUObjectDeleted(Object); |
| 221 | FunctionRegistry->NotifyUObjectDeleted(Object); |
| 222 | if (Manager) |
| 223 | Manager->NotifyUObjectDeleted(Object); |
| 224 | ObjectRegistry->NotifyUObjectDeleted(Object); |
| 225 | ClassRegistry->NotifyUObjectDeleted(Object); |
| 226 | EnumRegistry->NotifyUObjectDeleted(Object); |
| 227 | |
| 228 | if (CandidateInputComponents.Num() <= 0) |
| 229 | return; |
| 230 | |
| 231 | const int32 NumRemoved = CandidateInputComponents.Remove((UInputComponent*)Object); |
| 232 | if (NumRemoved > 0 && CandidateInputComponents.Num() < 1) |
| 233 | FWorldDelegates::OnWorldTickStart.Remove(OnWorldTickStartHandle); |
| 234 | } |
| 235 | |
| 236 | void FLuaEnv::OnUObjectArrayShutdown() |
| 237 | { |
no test coverage detected