Reporting: Cancel requests on shutdown.

Could previously cause PPSSPP to hang a bit on exit.
This commit is contained in:
Unknown W. Brackets committed 2021-05-16 09:55:50 -07:00
1 parent 138d81e14d
commit eab2d74091
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));