mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Fix reporting's net shutdown as well.
This commit is contained in:
parent
f48e0af235
commit
2da30d59d1
@ -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
2
native
@ -1 +1 @@
|
||||
Subproject commit a2fa1569f01a7c14ff29d15de0675c72b014c4d6
|
||||
Subproject commit b7eb60d2b7f6a9314eae8194343cd52de4fde13b
|
Loading…
Reference in New Issue
Block a user