avoid memory leaks if linked with static openssl libs

This commit is contained in:
CEU\schielke 2024-06-13 18:37:19 +02:00
parent f5454037f5
commit 5748ebbe2b

View File

@ -726,6 +726,10 @@ private:
assert(true == static_cast<bool>(fn));
fn();
}
#ifdef CPPHTTPLIB_OPENSSL_SUPPORT
OPENSSL_thread_stop ();
#endif
}
ThreadPool &pool_;