Remove global cleanup in DownloadUtils
This commit is contained in:
parent
1ae67f737d
commit
814e1bba2d
|
@ -147,7 +147,6 @@ int DownloadUtils::DownloadFileToBuffer(const std::string &url, std::string &out
|
|||
if ((errorOut = curl_easy_perform(curl)) != CURLE_OK) {
|
||||
errorTextOut = error;
|
||||
curl_easy_cleanup(curl);
|
||||
curl_global_cleanup();
|
||||
return -1;
|
||||
}
|
||||
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &responseCodeOut);
|
||||
|
|
Loading…
Reference in New Issue