FGCScopeGuard

Prevent GC from running in the current scope

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/GarbageCollection.h

Include

#include "UObject/GarbageCollection.h"

Syntax

class FGCScopeGuard

Remarks

Prevent GC from running in the current scope

Constructors

Name Description

Public function

FGCScopeGuard()

Destructors

Name Description

Public function

~FGCScopeGuard()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss