mirror of
https://github.com/tmux/tmux.git
synced 2026-05-23 13:20:14 +00:00
Fix control mode teardown ordering for queued pane output, GitHub issue
5064 from Aaron Campbell.
This commit is contained in:
@@ -847,9 +847,9 @@ control_stop(struct client *c)
|
||||
if (evtimer_initialized(&cs->subs_timer))
|
||||
evtimer_del(&cs->subs_timer);
|
||||
|
||||
control_reset_offsets(c);
|
||||
TAILQ_FOREACH_SAFE(cb, &cs->all_blocks, all_entry, cb1)
|
||||
control_free_block(cs, cb);
|
||||
control_reset_offsets(c);
|
||||
|
||||
c->control_state = NULL;
|
||||
free(cs);
|
||||
|
||||
Reference in New Issue
Block a user