libevent 2.0 compat

This commit is contained in:
Michael Davidsaver
2020-03-20 09:00:20 -07:00
parent 320755ebd5
commit d452e009ce
6 changed files with 6 additions and 4 deletions
+3
View File
@@ -45,6 +45,9 @@ unsigned long version_int()
void cleanup_for_valgrind()
{
#if LIBEVENT_VERSION_NUMBER >= 0x02010000
libevent_global_shutdown();
#endif
impl::logger_shutdown();
impl::UDPManager::cleanup();
}