fix(vulkan-smoke): harden timeout and ci closure
This commit is contained in:
@@ -51,9 +51,10 @@ where
|
||||
|
||||
fn commit(mut self) -> T {
|
||||
self.rollback.take();
|
||||
self.value
|
||||
.take()
|
||||
.expect("rollback guard must hold a value until commit")
|
||||
match self.value.take() {
|
||||
Some(value) => value,
|
||||
None => unreachable!("rollback guard must hold a value until commit"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user