X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/b2d7232b16208cdad0c31ea507003b7cefe685f0..3de7450f04f8d9cd241eb600da57cbe0539aa62c:/event?ds=inline diff --git a/event b/event index a4577bd..d2ec386 100644 --- a/event +++ b/event @@ -524,7 +524,9 @@ struct dispatcher internal::event_base_priority_init(_event_base, npriorities); } +#ifdef EVENT_BASE_FREE_FIX ~dispatcher() throw() { event_base_free(_event_base); } +#endif /** * Adds an event to the dispatcher.