Fix reporting's net shutdown as well.

This commit is contained in:
Unknown W. Brackets 2013-09-30 01:25:40 -07:00
parent f48e0af235
commit 2da30d59d1
2 changed files with 2 additions and 3 deletions

View File

@ -132,13 +132,13 @@ namespace Reporting
bool SendReportRequest(const char *uri, const std::string &data, Buffer *output = NULL)
{
bool result = false;
net::AutoInit netInit;
http::Client http;
Buffer theVoid;
if (output == NULL)
output = &theVoid;
net::Init();
if (http.Resolve(ServerHostname(), ServerPort()))
{
http.Connect();
@ -146,7 +146,6 @@ namespace Reporting
http.Disconnect();
result = true;
}
net::Shutdown();
return result;
}

2
native

@ -1 +1 @@
Subproject commit a2fa1569f01a7c14ff29d15de0675c72b014c4d6
Subproject commit b7eb60d2b7f6a9314eae8194343cd52de4fde13b