Add crashed tab recovery
This commit is contained in:
@@ -161,6 +161,10 @@ impl BrowserTab {
|
||||
self.state = TabState::Ready;
|
||||
}
|
||||
|
||||
pub fn mark_crashed(&mut self) {
|
||||
self.state = TabState::Crashed;
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn flags(&self) -> &TabFlags {
|
||||
&self.flags
|
||||
|
||||
Reference in New Issue
Block a user