Skip to content

Commit

Permalink
πŸš‘ Fix shutdown on liftoff
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiBardon committed Jan 3, 2024
1 parent 4888919 commit d69111b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/orangutan/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ async fn throwing_main() -> Result<(), Box<dyn std::error::Error>> {
.attach(AdHoc::on_liftoff("Liftoff website generation", |rocket| Box::pin(async move {
if let Err(err) = liftoff() {
error!("Error: {}", err);
rocket.shutdown().await;
exit(1);
rocket.shutdown().notify();
}
})))
.launch()
Expand Down

0 comments on commit d69111b

Please sign in to comment.