diff --git a/modules/menu/menu.c b/modules/menu/menu.c index 63c3770f0..515f97df0 100644 --- a/modules/menu/menu.c +++ b/modules/menu/menu.c @@ -710,6 +710,7 @@ static void event_handler(enum ua_event ev, struct bevent *event, void *arg) return; } + bevent_stop(event); break; case UA_EVENT_CALL_INCOMING: diff --git a/test/call.c b/test/call.c index 38fb98d50..f2e7e4907 100644 --- a/test/call.c +++ b/test/call.c @@ -659,6 +659,8 @@ static void event_handler(enum ua_event ev, struct bevent *event, void *arg) err); return; } + + bevent_stop(event); } if (ua == f->a.ua)