Navigation
Unreal Engine C++ API Reference > Runtime > Core > FTaskTagScope
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/CoreGlobals.h |
Include | #include "CoreGlobals.h" |
Source | /Engine/Source/Runtime/Core/Private/HAL/ThreadingBase.cpp |
static void SetTagStaticInit&40;&41;
Remarks
Restore the ETaskTag::StaticInit tag so that the destructors of global (or local static) C++ objects function properly when checking thread state (from functions like IsInGameThread()).