diff --git a/crates/collab/src/main.rs b/crates/collab/src/main.rs index 26af6442d9..0f783c13e5 100644 --- a/crates/collab/src/main.rs +++ b/crates/collab/src/main.rs @@ -77,8 +77,7 @@ async fn main() -> Result<()> { .expect("failed to listen for interrupt signal"); let sigterm = sigterm.recv(); let sigint = sigint.recv(); - futures::pin_mut!(sigterm); - futures::pin_mut!(sigint); + futures::pin_mut!(sigterm, sigint); futures::future::select(sigterm, sigint).await; tracing::info!("Received interrupt signal"); rpc_server.teardown();