diff --git a/Cargo.lock b/Cargo.lock index c36372d..1b91c46 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -566,9 +566,10 @@ checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" [[package]] name = "launch-pad" version = "0.1.0" -source = "git+https://github.com/pop-os/launch-pad?branch=stdin-msg#ac8e2b454a2f602bbe2479b9b75c31293f7e4439" +source = "git+https://github.com/pop-os/launch-pad?branch=stdin-msg#a29643a7e22bff92848e4eeb9de665c1e9c08536" dependencies = [ "log", + "rand", "slotmap", "thiserror", "tokio", diff --git a/src/main.rs b/src/main.rs index 37c4d9d..bd4a1bc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -171,12 +171,6 @@ async fn main() -> Result<()> { .await .expect("failed to start notifications daemon"); - // mark_as_cloexec(&daemon_notifications_fd) - // .expect("Failed to mark daemon notifications socket as CLOEXEC"); - // start_component("cosmic-notifications", span, &process_manager, &env_vars).await; - // mark_as_not_cloexec(&daemon_notifications_fd) - // .expect("Failed to mark daemon notifications socket as not CLOEXEC"); - let span = info_span!(parent: None, "cosmic-app-library"); start_component("cosmic-app-library", span, &process_manager, &env_vars).await; @@ -226,9 +220,9 @@ async fn main() -> Result<()> { break; }, res = exit_rx => { - if res.is_err() { - warn!("exit channel dropped session"); - } + if res.is_err() { + warn!("exit channel dropped session"); + } info!("EXITING: session exited by request"); break; },