Merge pull request #14468 from unknownbrackets/reporting-cancel

Reporting: Cancel requests on shutdown
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2021-05-16 22:58:44 +02:00
commit 5fa1af6eff
1 file changed
+1 -1
+1 -1
View File
@@ -260,7 +260,7 @@ namespace Reporting
bool SendReportRequest(const char *uri, const std::string &data, const std::string &mimeType, Buffer *output = NULL)
{
http::Client http;
http::RequestProgress progress;
http::RequestProgress progress(&pendingMessagesDone);
Buffer theVoid = Buffer::Void();
http.SetUserAgent(StringFromFormat("PPSSPP/%s", PPSSPP_GIT_VERSION));