mirror of
https://github.com/HowardHinnant/date.git
synced 2025-01-13 17:34:45 +08:00
Add global cleanup to curl object destructor (#652)
Co-authored-by: Satish Bhat <sbhat@belvederetrading.com>
This commit is contained in:
parent
1c285d6545
commit
811be52e1c
@ -2863,6 +2863,7 @@ struct curl_deleter
|
||||
void operator()(CURL* p) const
|
||||
{
|
||||
::curl_easy_cleanup(p);
|
||||
::curl_global_cleanup();
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user