mirror of https://github.com/c-ares/c-ares.git
Previously, a single call to ares_library_cleanup() would deinitialise the c-ares library, regardless of how many times ares_library_init() was called. This behaviour may cause problems in programs linking two or more libraries which, in turn, use c-ares. The present commit fixes this problem, deinitializing the library only after a number of calls to ares_library_cleanup() matching the number of calls to ares_library_init().pull/10/merge
parent
148c8e0353
commit
2e0c3076e5
1 changed files with 6 additions and 1 deletions
Loading…
Reference in new issue