From 4e449f3fadb17b6dc1b900f001587684317b72d6 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 17 Jul 2013 22:02:02 -0400 Subject: [PATCH] Documentation: fix thread quit pipe comment Signed-off-by: Mathieu Desnoyers --- src/bin/lttng-sessiond/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index bfc8a389b..2929bba0d 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -446,7 +446,10 @@ static void cleanup(void) DBG("Cleaning up"); - /* First thing first, stop all threads */ + /* + * Close the thread quit pipe. It has already done its job, + * since we are now called. + */ utils_close_pipe(thread_quit_pipe); /* -- 2.34.1