cleanup and update launchpad

This commit is contained in:
Ashley Wulber 2023-07-01 02:01:02 -04:00 committed by Ashley Wulber
parent e1a174f61d
commit ec6dd44a9c
2 changed files with 5 additions and 10 deletions

3
Cargo.lock generated
View file

@ -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",

View file

@ -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;
},