We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f53fba1 commit e9d0d24Copy full SHA for e9d0d24
1 file changed
src/aws-cpp-sdk-core/source/http/curl/CurlHttpClient.cpp
@@ -530,8 +530,11 @@ void CurlHttpClient::InitGlobalState()
530
531
void CurlHttpClient::CleanupGlobalState()
532
{
533
- curl_global_cleanup();
534
- isInit = false;
+ if (isInit)
+ {
535
+ curl_global_cleanup();
536
+ isInit = false;
537
+ }
538
}
539
540
Aws::String CurlInfoTypeToString(curl_infotype type)
0 commit comments