diff --git a/sidebus-broker/src/main.rs b/sidebus-broker/src/main.rs index d0f46ab..366016e 100644 --- a/sidebus-broker/src/main.rs +++ b/sidebus-broker/src/main.rs @@ -165,9 +165,7 @@ async fn main() -> eyre::Result<()> { error!("org.freedesktop.portal.Desktop already provided"); }; // XXX: no method for "wait until the conn dies"? - loop { - tokio::time::sleep(Duration::from_millis(5000)).await; - } + Ok(std::future::pending::<()>().await) } if let Some(path) = cli.unix_path {