From: Sebastian Harl Date: Fri, 6 Jun 2014 20:37:06 +0000 (+0200) Subject: sysdbd: Forcefully terminate the frontend and backend loops. X-Git-Tag: sysdb-0.2.0~61^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e0f5057ba2274b69309704c0f197b1a3e92eff87;p=sysdb.git sysdbd: Forcefully terminate the frontend and backend loops. --- diff --git a/src/tools/sysdbd/main.c b/src/tools/sysdbd/main.c index 3511a8a..96fe6a6 100644 --- a/src/tools/sysdbd/main.c +++ b/src/tools/sysdbd/main.c @@ -292,6 +292,8 @@ main_loop(void) } /* clean up in case we exited the loop on error */ + plugin_main_loop.do_loop = 0; + frontend_main_loop.do_loop = 0; pthread_kill(backend_thread, SIGINT); pthread_join(backend_thread, NULL);