projects
/
lttngtop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup exit path
[lttngtop.git]
/
src
/
lttngtop.c
diff --git
a/src/lttngtop.c
b/src/lttngtop.c
index 8a3416c8dd6bf41659b695a458d2bd52c0c50993..26faf1de7d0344db0717e371f82b5bcd152fb1a4 100644
(file)
--- a/
src/lttngtop.c
+++ b/
src/lttngtop.c
@@
-124,11
+124,12
@@
void *ncurses_display(void *p)
sem_wait(&pause_sem);
if (quit) {
sem_wait(&pause_sem);
if (quit) {
+ sem_post(&pause_sem);
+ sem_post(&timer);
reset_ncurses();
pthread_exit(0);
}
reset_ncurses();
pthread_exit(0);
}
-
copy = g_ptr_array_index(copies, current_display_index);
assert(copy);
display(current_display_index++);
copy = g_ptr_array_index(copies, current_display_index);
assert(copy);
display(current_display_index++);
This page took
0.024047 seconds
and
4
git commands to generate.