Game crashing when failing to connect to internet (4.7)

Hi.
At the start of the game, I connect my game to a website to fetch stuff. But, since I upgraded to 4.7, the game has started to crash when there is no internet connection. The crash happens in editor as well as in the build. This is what the crash report looks like:

I have also tried stuff like FHttpModule::Get().SetHttpTimeout(2.0f); to do a timeOut. Here is what my request code looks like (the following code works fine when internet connection is established):

FSagRequest CurrentRequest;  //Custom made struct

FString Dest;


FHttpModule::Get().SetHttpTimeout(2.0f);
TSharedRef<IHttpRequest> Request = FHttpModule::Get().CreateRequest();

Request->SetHeader("Content-Type", "text/html");

Request->SetURL(TEXT("http://xyz.com/abc.php"));
Request->SetVerb(TEXT("POST"));





CurrentRequest.AddURLPair("BuildNo", BuildVersion);


Request->SetContentAsString(CurrentRequest.TheData);

Request->OnProcessRequestComplete().BindUObject(this, &AHTTPHandlerActor::OnResponseReceivedQuotes);




if (!Request->ProcessRequest())
{
	
	return false;
}


return true;

Any help would be greatly appreciated

Yeah this broke the game for me when I was showing it at GDC!!

I think you may be reaping the benefits of this fix listed in the Core section of the release notes, though I’m not 100%:

“Fix for TArray<>:RemoveSingle which would incorrectly reconstruct elements currently in the array after the element being removed. Could cause leak in elements are of type TSharedPtr/Ref…”

Are you doing anything like this? With this tiny piece of your code it’s hard to tell, but this is the only change in the release that seems sort of fishy to me and related to your problem. Let me know and I can dig deeper. Good luck! Sorry to hear of your troubles.