mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Clear PANE_EXITED flag when starting new child process in case the pane
has been respawned.
This commit is contained in:
@ -302,6 +302,7 @@ server_destroy_pane(struct window_pane *wp, int notify)
|
||||
|
||||
if (wp->fd != -1) {
|
||||
bufferevent_free(wp->event);
|
||||
wp->event = NULL;
|
||||
close(wp->fd);
|
||||
wp->fd = -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user