Add global cleanup to curl object destructor (#652)

Co-authored-by: Satish Bhat <sbhat@belvederetrading.com>
This commit is contained in:
satishbhat-umd
2021-03-01 17:00:11 -05:00
committed by GitHub
co-authored by Satish Bhat
parent 1c285d6545
commit 811be52e1c
+1
View File
@@ -2863,6 +2863,7 @@ struct curl_deleter
void operator()(CURL* p) const
{
::curl_easy_cleanup(p);
::curl_global_cleanup();
}
};