cleanup exit path
[lttngtop.git] / src / lttngtop.c
index 79e3e2c0cf262ec927ca5e7a23a22c89c679002d..89c0a1d3a225718aa9658408fc3d7d815781c217 100644 (file)
@@ -124,11 +124,12 @@ void *ncurses_display(void *p)
                sem_wait(&pause_sem);
 
                if (quit) {
+                       sem_post(&pause_sem);
+                       sem_post(&timer);
                        reset_ncurses();
                        pthread_exit(0);
                }
 
-
                copy = g_ptr_array_index(copies, current_display_index);
                assert(copy);
                display(current_display_index++);
This page took 0.022942 seconds and 4 git commands to generate.