Navigation
API > API/Runtime > API/Runtime/CoreUObject
Description
Incrementally purge garbage by deleting all unreferenced objects after routing Destroy.
Calling code needs to be EXTREMELY careful when and how to call this function as RF_Unreachable cannot change on any objects unless any pending purge has completed!
| Name | IncrementalPurgeGarbage |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/GarbageCollection.cpp |
void IncrementalPurgeGarbage
(
bool bUseTimeLimit,
double TimeLimit
)
Parameters
| Name | Remarks |
|---|---|
| bUseTimeLimit | whether the time limit parameter should be used |
| TimeLimit | soft time limit for this function call |