Repository navigation
Is curl_global_cleanup() really necessary? #11919
Unanswered
philbond007
asked this question in
Q&A
Replies: 1 comment 3 replies
|
Same question here. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions