From 25a3b9981dc733c66210e77f72e7f82c5cf779a1 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Sat, 5 Dec 2009 20:48:36 +0200 Subject: [PATCH] daemon: what for 3 seconds before stopping server let apps shut down cleanly. dharanamrs reports problems on stop and this will prove whether not waiting for app stop is causing them --- daemon/cmd_stop_studio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon/cmd_stop_studio.c b/daemon/cmd_stop_studio.c index a0b0d675..eb485487 100644 --- a/daemon/cmd_stop_studio.c +++ b/daemon/cmd_stop_studio.c @@ -24,6 +24,8 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include + #include "cmd.h" #include "studio_internal.h" @@ -45,6 +47,8 @@ static bool run(void * context) ladish_app_supervisor_stop(g_studio.app_supervisor); + usleep(3000000); + log_info("Stopping JACK server..."); ladish_graph_dump(g_studio.studio_graph); -- 2.11.4.GIT