You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#fyi chris.constantinescu Original CL Desc ----------------------------------------------------------------- (LLT) Set cached data directories via FPlatformFile::InitializeAfterProjectFilePath -> fixes code path cycle for Program type applications where no project path is defined. #jira UE-163672 #rb Josh.Adams #preflight 6321e55e506f1a33e0bf2576 Reverting as it causes UE-165118 (Insights log not being gathered on some platforms). The problem was that some systems rely on the cached paths being available very early during the launch sequence. Delaying the initialization of these paths leads to non-existent paths being used and traces not being written. #preflight 633355a4d747fe52c807dfbf #fyi chris.constantinescu #jira UE-165118 #rnx [CL 22212743 by wojciech krywult in ue5-main branch]
34 lines
676 B
C++
34 lines
676 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
#include "TestCommon/CoreUtilities.h"
|
|
#include "TestCommon/CoreUObjectUtilities.h"
|
|
|
|
#include "LowLevelTestModule.h"
|
|
#include "Modules/ModuleManager.h"
|
|
|
|
class FGlobalLLTModule : public ILowLevelTestsModule
|
|
{
|
|
public:
|
|
virtual void GlobalSetup() override;
|
|
virtual void GlobalTeardown() override;
|
|
};
|
|
|
|
IMPLEMENT_MODULE(FGlobalLLTModule, GlobalLowLevelTests);
|
|
|
|
void FGlobalLLTModule::GlobalSetup()
|
|
{
|
|
InitTaskGraph();
|
|
InitThreadPool(true);
|
|
#if WITH_COREUOBJECT
|
|
InitCoreUObject();
|
|
#endif
|
|
}
|
|
|
|
void FGlobalLLTModule::GlobalTeardown()
|
|
{
|
|
#if WITH_COREUOBJECT
|
|
CleanupCoreUObject();
|
|
#endif
|
|
CleanupThreadPool();
|
|
CleanupTaskGraph();
|
|
}
|