preserve deferred initialization boundaries

This commit is contained in:
Ahmed Ibrahim
2026-06-09 18:32:26 +00:00
parent 73cf5d1d18
commit 88165dcd07
8 changed files with 53 additions and 80 deletions
+3 -1
View File
@@ -265,7 +265,9 @@ impl McpConnectionManager {
)
.await;
if let Some(event) = empty_startup_event {
let _ = tx_event.send(event).await;
tokio::spawn(async move {
let _ = tx_event.send(event).await;
});
}
(manager, cancel_token)
}