Merge pull request #14468 from unknownbrackets/reporting-cancel

Reporting: Cancel requests on shutdown
This commit is contained in:
Henrik Rydgård 2021-05-16 22:58:44 +02:00 committed by GitHub
commit 5fa1af6eff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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));