Skip to content

fix: deadlock with blocking panes - #5152

Merged
imsnif merged 4 commits into
mainfrom
fix-blocking-hang
May 8, 2026
Merged

imsnif merged 4 commits into
mainfrom
fix-blocking-hang

Conversation

@imsnif

@imsnif imsnif commented May 8, 2026

Copy link
Copy Markdown
Member

This fixes a regression in 0.44.2 where if we would open a pane with --blocking and then change-mode (among some other actions) the session would get stuck.

This was happening because of a deadlock in the route.rs thread. I fixed it by removing some unnecessary state the thread was holding, thus freeing it from the need to lock the relevant entity (session_data) at all.

Fixes #5141

@imsnif
imsnif merged commit 24f2173 into main May 8, 2026
9 checks passed
imsnif added a commit that referenced this pull request May 12, 2026
* fix: deadlock with blocking panes

* rustfmt

* add pr

(cherry picked from commit 24f2173)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Zellij freezes when pressing Ctrl-G while a floating pane is opened with --block-until-exit

1 participant