Is curl_global_cleanup() really necessary? #11919
Unanswered
philbond007
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Same question here.
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm using libcurl from a library I want to offer to clients.
Now I want to statically link-in libcurl.
So evidently I will have to curl_global_init() once for the lifetime of the client .exe which will have also statically linked-in my libcode(which has statically linked libcurl).
Now I wonder if it's relevant to call curl_global_cleanup(), because when there will be no more libcurl-functionality needed, this means the process of the client .exe will have disappeared, together with its complete address space, so what is there to cleanup?
Tx.
Beta Was this translation helpful? Give feedback.
All reactions