You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix for TextInputSystem shared ptr crash if the text input system failed to initialize
[CL 2074097 by Robert Manuszewski in Main branch]
This commit is contained in:
committed by
UnrealBot
parent
8e3aa5bd36
commit
cf8b3d4979
@@ -103,7 +103,10 @@ bool FWindowsApplication::RegisterClass( const HINSTANCE HInstance, const HICON
|
||||
|
||||
FWindowsApplication::~FWindowsApplication()
|
||||
{
|
||||
TextInputMethodSystem->Terminate();
|
||||
if (TextInputMethodSystem.IsValid())
|
||||
{
|
||||
TextInputMethodSystem->Terminate();
|
||||
}
|
||||
|
||||
::CoUninitialize();
|
||||
OleUninitialize();
|
||||
|
||||
Reference in New Issue
Block a user