Fix: flush the rotation thread's job queue on exit
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 28 Nov 2018 21:12:25 +0000 (16:12 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 10 Dec 2018 20:24:50 +0000 (15:24 -0500)
commit2a3a7ecd2c8aa78069eae1b11c9c9b2fb060de53
tree7d4be98ce415334eeb171253b21d254b9924ca00
parent4a224750266970206a160541f575cf12c361968f
Fix: flush the rotation thread's job queue on exit

The rotation thread's job queue can transitively hold references
to a number of ltt_session objects which will prevent the session
daemon to exit as it waits for all sessions to have completed
their destruction.

This fix ensures that the job queue is flushed when activity
is observed on the quit pipe.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/rotation-thread.c
This page took 0.025195 seconds and 4 git commands to generate.