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 16:00:11 -06:00 committed by GitHub
parent 1c285d6545
commit 811be52e1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2863,6 +2863,7 @@ struct curl_deleter
void operator()(CURL* p) const
{
::curl_easy_cleanup(p);
::curl_global_cleanup();
}
};