Make sure AppleHTTP loads FSslModule before using it on the main thread.

[FYI] Evan.Kinney

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: michael.trepka
#ROBOMERGE-SOURCE: CL 5241689 via CL 5241691 via CL 5242598 via CL 5242614
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5265197 by michael trepka in Dev-Networking branch]
This commit is contained in:
michael trepka
2019-03-01 14:57:24 -05:00
parent d562901f47
commit 0b9dd60729

View File

@@ -43,6 +43,11 @@ FAppleHttpRequest::FAppleHttpRequest()
{
SetHeader(It.Key(), It.Value());
}
#if WITH_SSL
// Make sure the module is loaded on the game thread before being used by FHttpResponseAppleWrapper, which will be called on the main thread
FSslModule::Get();
#endif
}