From eab2d74091e082dc7a2822187e5694408bb76cdf Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 16 May 2021 09:55:50 -0700 Subject: [PATCH] Reporting: Cancel requests on shutdown. Could previously cause PPSSPP to hang a bit on exit. --- Core/Reporting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Reporting.cpp b/Core/Reporting.cpp index 91b31da54e..72edac0ed6 100644 --- a/Core/Reporting.cpp +++ b/Core/Reporting.cpp @@ -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));