CompactListing: update self.rows{,_drawn} on row update

self.rows{,_drawn} were left unupdated, and stale envelope hashes could
result in panics
memfd
Manos Pitsidianakis 4 years ago
parent 1bac926bdc
commit 08d8c05a67
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

@ -1109,6 +1109,8 @@ impl CompactListing {
}
(false, false) => {}
}
*self.rows.get_mut(idx).unwrap() = ((idx, (thread_hash, env_hash)), strings);
self.rows_drawn.update(idx, 1);
}
}

Loading…
Cancel
Save