From f32a53f92b377fa92dbafd2ce3d2df93fffb314d Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Mon, 5 May 2014 02:41:34 +0200 Subject: [PATCH] uloop: fix multiple calls to uloop_run() Signed-off-by: Luka Perkov --- uloop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/uloop.c b/uloop.c index ee568a8..c3d206a 100644 --- a/uloop.c +++ b/uloop.c @@ -646,6 +646,7 @@ void uloop_run(void) if (!recursive_calls++) uloop_setup_signals(true); + uloop_cancelled = false; while(!uloop_cancelled) { uloop_gettime(&tv);