summaryrefslogtreecommitdiffstats
path: root/misplays.c
diff options
context:
space:
mode:
Diffstat (limited to 'misplays.c')
-rw-r--r--misplays.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/misplays.c b/misplays.c
index 815e045..c064f75 100644
--- a/misplays.c
+++ b/misplays.c
@@ -149,10 +149,7 @@ static void info_update(struct thread *th, PANEL *pan) {
static void wait_all_threads(struct list *processes) {
for (struct process *proc = processes->head; proc != processes->end; proc = proc->next) {
- struct list *threads = &proc->threads;
- for (struct thread *th = threads->head; th != threads->end; th = th->next) {
- dbg_wait(th, 0);
- }
+ dbg_sync(proc);
}
}