mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Sync OpenBSD patchset 535:
Destroy panes immediately rather than checking them all every loop.
This commit is contained in:
6
window.c
6
window.c
@ -1,4 +1,4 @@
|
||||
/* $Id: window.c,v 1.121 2009-11-08 23:22:24 tcunha Exp $ */
|
||||
/* $Id: window.c,v 1.122 2009-11-14 17:48:39 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -592,9 +592,7 @@ window_pane_error_callback(
|
||||
{
|
||||
struct window_pane *wp = data;
|
||||
|
||||
close(wp->fd);
|
||||
bufferevent_free(wp->event);
|
||||
wp->fd = -1;
|
||||
server_destroy_pane(wp);
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user