uloop: fix multiple calls to uloop_run()
Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
parent
9203927e58
commit
f32a53f92b
1 changed files with 1 additions and 0 deletions
1
uloop.c
1
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);
|
||||
|
|
Loading…
Reference in a new issue