Fix a panic when drop-splitting the terminal panel (cherry-pick #21795) (#21798)
gcp-cherry-pick-bot[bot]
and
Kirill Bulatov
created
Cherry-picked Fix a panic when drop-splitting the terminal panel
(#21795)
Closes https://github.com/zed-industries/zed/issues/21792
Release Notes:
- (Preview only) Fixed a panic when drop-splitting the terminal panel
Co-authored-by: Kirill Bulatov <kirill@zed.dev>