mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Destroy panes immediately rather than checking them all every loop.
This commit is contained in:
@ -80,6 +80,7 @@ cmd_respawn_window_exec(struct cmd *self, struct cmd_ctx *ctx)
|
||||
ctx->error(ctx, "respawn window failed: %s", cause);
|
||||
xfree(cause);
|
||||
environ_free(&env);
|
||||
server_destroy_pane(wp);
|
||||
return (-1);
|
||||
}
|
||||
layout_init(w);
|
||||
|
Reference in New Issue
Block a user