1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 14:22:37 +03:00

mux: don't request lines if we think we are dead

refs: https://github.com/wez/wezterm/issues/3386
This commit is contained in:
Wez Furlong 2023-03-30 16:34:11 -07:00
parent 29d10946aa
commit 72410a266f
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -490,7 +490,7 @@ impl RenderableInner {
} }
fn schedule_fetch_lines(&mut self, to_fetch: RangeSet<StableRowIndex>, now: Instant) { fn schedule_fetch_lines(&mut self, to_fetch: RangeSet<StableRowIndex>, now: Instant) {
if to_fetch.is_empty() { if to_fetch.is_empty() || self.dead {
return; return;
} }