Add sleeping tab recovery

This commit is contained in:
2026-05-08 10:23:58 -04:00
parent 1ec3bfcc3d
commit 3c380e1455
12 changed files with 338 additions and 50 deletions
+4
View File
@@ -165,6 +165,10 @@ impl BrowserTab {
self.state = TabState::Crashed;
}
pub fn mark_discarded(&mut self) {
self.state = TabState::Discarded;
}
#[must_use]
pub fn flags(&self) -> &TabFlags {
&self.flags