Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
PERROR("pthread_join sessiond_thread");
retval = -1;
}
-
- ret = consumer_timer_thread_get_channel_monitor_pipe();
- if (ret >= 0) {
- ret = close(ret);
- if (ret) {
- PERROR("close channel monitor pipe");
- }
- }
exit_sessiond_thread:
ret = pthread_join(data_thread, &status);
PERROR("pthread_join metadata_timer_thread");
retval = -1;
}
+ ret = consumer_timer_thread_get_channel_monitor_pipe();
+ if (ret >= 0) {
+ ret = close(ret);
+ if (ret) {
+ PERROR("close channel monitor pipe");
+ }
+ }
metadata_timer_thread_online = false;
}
tmp_ctx = ctx;