mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-14 16:34:09 +00:00
cleanup curl handles before curl share
This commit is contained in:
parent
dbe98dcbd2
commit
af63a42773
@ -416,10 +416,10 @@ bool S3fsCurl::DestroyS3fsCurl(void)
|
|||||||
if(!S3fsCurl::DestroyCryptMutex()){
|
if(!S3fsCurl::DestroyCryptMutex()){
|
||||||
result = false;
|
result = false;
|
||||||
}
|
}
|
||||||
if(!S3fsCurl::DestroyShareCurl()){
|
if(!sCurlPool->Destroy()){
|
||||||
result = false;
|
result = false;
|
||||||
}
|
}
|
||||||
if (!sCurlPool->Destroy()) {
|
if(!S3fsCurl::DestroyShareCurl()){
|
||||||
result = false;
|
result = false;
|
||||||
}
|
}
|
||||||
if(!S3fsCurl::DestroyGlobalCurl()){
|
if(!S3fsCurl::DestroyGlobalCurl()){
|
||||||
|
Loading…
Reference in New Issue
Block a user