Fix control client hang on exit after toggling no-output, GitHub issue

5049 from Aaron Campbell.
This commit is contained in:
nicm
2026-05-03 15:01:21 +00:00
parent 1e96d9a87f
commit 637d4c3083

View File

@@ -301,6 +301,7 @@ control_reset_offsets(struct client *c)
struct control_pane *cp, *cp1;
RB_FOREACH_SAFE(cp, control_panes, &cs->panes, cp1) {
control_discard_pane(c, cp);
RB_REMOVE(control_panes, &cs->panes, cp);
free(cp);
}