You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
[INTEGRATE] Change 2311043 by Mark.Satterthwaite@Pitbull-MARKSATT-MACPRO-03 on 2014/09/26 10:01:14
FInternationalization::Terminate was setting bIsInitialized to false after deleting the FInternationalization instance, causing a use-after-free bug. Set bIsInitialized to false first. #codereview michael.trepka, Saul.Abreu [CL 2311104 by Ben Marsh in 4.5 branch]
This commit is contained in:
@@ -290,9 +290,9 @@ void FInternationalization::Terminate()
|
||||
#endif //IS_PROGRAM || !IS_MONOLITHIC
|
||||
#endif //UE_ENABLE_ICU
|
||||
|
||||
bIsInitialized = false;
|
||||
delete Instance;
|
||||
Instance = nullptr;
|
||||
bIsInitialized = false;
|
||||
}
|
||||
|
||||
#if UE_ENABLE_ICU && (IS_PROGRAM || !IS_MONOLITHIC)
|
||||
|
||||
Reference in New Issue
Block a user