diff --git a/httplib.h b/httplib.h index 062f66b..b1b3f7d 100644 --- a/httplib.h +++ b/httplib.h @@ -726,6 +726,10 @@ private: assert(true == static_cast(fn)); fn(); } + +#ifdef CPPHTTPLIB_OPENSSL_SUPPORT + OPENSSL_thread_stop (); +#endif } ThreadPool &pool_;