diff options
| author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-13 17:33:07 +0000 |
|---|---|---|
| committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-13 17:33:07 +0000 |
| commit | 8e479662255f480cabc45af5edc10098dc3f1819 (patch) | |
| tree | e4e1681a98d5a33c876a31283241f67615e715cb /window.c | |
| parent | 1415eb3dd249e7730b151a5cfd61c47a712a522f (diff) | |
| download | rtmux-8e479662255f480cabc45af5edc10098dc3f1819.tar.gz rtmux-8e479662255f480cabc45af5edc10098dc3f1819.tar.bz2 rtmux-8e479662255f480cabc45af5edc10098dc3f1819.zip | |
Destroy panes immediately rather than checking them all every loop.
Diffstat (limited to 'window.c')
| -rw-r--r-- | window.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -594,9 +594,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 |