Files
UnrealEngineUWP/Engine/Source/Developer/Virtualization
paul chipchase 90bea28a6e Setting the cvar 'VA.AllowPkgVirtualization' as part of a device profile will no longer log warnings about the cvar being unregistered.
#rb Per.Larsson
#rnx
#preflight 633ad936c250f60502b2d8cb

- Everything was working but when a cvar is set via a device profile we expect the cvar to be registered sooner, hence the warning.
- Added a new define UE_USE_GLOBAL_CVAR to FVirtualizationManager.cpp, when set we use a static global cvar for 'VA.AllowPkgVirtualization' rather then creating and registering one when the system is mounted.
- Since the cvar can now outlive the manager we also needed to add a way to remove the bound lambda from the cvar when the manager is destroyed.

[CL 22322164 by paul chipchase in ue5-main branch]
2022-10-03 20:36:09 -04:00
..