Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Apr 29, 2024
1 parent 70de0ad commit 93bb21a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions runtime/src/installed_scheduler_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,11 @@ impl BankWithScheduler {
{
drop(scheduler_guard);
let mut scheduler_guard = self.inner.scheduler.write().unwrap();
return Err(scheduler_guard
let recovered_error = scheduler_guard
.as_mut()
.unwrap()
.recover_error_after_abort());
.recover_error_after_abort();
return Err(recovered_error);
}
}

Expand Down

0 comments on commit 93bb21a

Please sign in to comment.