Clear PANE_EXITED flag when starting new child process in case the pane

has been respawned.
This commit is contained in:
nicm
2018-11-30 08:44:40 +00:00
parent 40d246b29c
commit 67254ed8df
3 changed files with 9 additions and 1 deletions

View File

@ -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;
}