From bbc6faec52688b647f67fc1a489469b3cd6189e5 Mon Sep 17 00:00:00 2001 From: Bas Zalmstra Date: Tue, 11 Mar 2025 13:59:24 +0100 Subject: [PATCH] fix: issue 3283 --- src/main.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index ad7c3354ef..9b7af02146 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,12 +37,7 @@ pub fn main() -> miette::Result<()> { .expect("Failed building the Runtime"); // Box the large main future to avoid stack overflows. - let result = runtime.block_on(Box::pin(pixi::cli::execute())); - - // Avoid waiting for pending tasks to complete. - runtime.shutdown_background(); - - result + runtime.block_on(Box::pin(pixi::cli::execute())) }; std::thread::Builder::new()