Use the new, double-add protected hook functions

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/389/head
Gergely Nagy 8 years ago
parent 8ebac50a8b
commit bb2df55e09

@ -78,8 +78,8 @@ namespace Akela {
void
Leader::begin (void) {
event_handler_hook_add (this->eventHandlerHook);
loop_hook_add (this->loopHook);
event_handler_hook_use (this->eventHandlerHook);
loop_hook_use (this->loopHook);
}
void

Loading…
Cancel
Save