Do not send theme updates to panes that have exited, GitHub issue 4671.

This commit is contained in:
nicm
2025-11-12 08:06:33 +00:00
parent 12497ecade
commit 40600eebfa

View File

@@ -1922,6 +1922,8 @@ window_pane_get_theme(struct window_pane *wp)
void
window_pane_send_theme_update(struct window_pane *wp)
{
if (wp == NULL || window_pane_exited(wp))
return;
if (~wp->flags & PANE_THEMECHANGED)
return;
if (~wp->screen->mode & MODE_THEME_UPDATES)