libevent 2.0 compat
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user