mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-08 01:33:34 +00:00
Minor stylistic change
This commit is contained in:
parent
5a334622ea
commit
2679e245a5
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue