mirror of
https://github.com/tmux/tmux.git
synced 2026-05-30 14:16:18 +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))
|
if (evtimer_initialized(&cs->subs_timer))
|
||||||
evtimer_del(&cs->subs_timer);
|
evtimer_del(&cs->subs_timer);
|
||||||
|
|
||||||
|
control_reset_offsets(c);
|
||||||
TAILQ_FOREACH_SAFE(cb, &cs->all_blocks, all_entry, cb1)
|
TAILQ_FOREACH_SAFE(cb, &cs->all_blocks, all_entry, cb1)
|
||||||
control_free_block(cs, cb);
|
control_free_block(cs, cb);
|
||||||
control_reset_offsets(c);
|
|
||||||
|
|
||||||
c->control_state = NULL;
|
c->control_state = NULL;
|
||||||
free(cs);
|
free(cs);
|
||||||
|
|||||||
Reference in New Issue
Block a user