cleanup and update launchpad
This commit is contained in:
parent
e1a174f61d
commit
ec6dd44a9c
2 changed files with 5 additions and 10 deletions
3
Cargo.lock
generated
3
Cargo.lock
generated
|
|
@ -566,9 +566,10 @@ checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6"
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "launch-pad"
|
name = "launch-pad"
|
||||||
version = "0.1.0"
|
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 = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
|
"rand",
|
||||||
"slotmap",
|
"slotmap",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
"tokio",
|
"tokio",
|
||||||
|
|
|
||||||
12
src/main.rs
12
src/main.rs
|
|
@ -171,12 +171,6 @@ async fn main() -> Result<()> {
|
||||||
.await
|
.await
|
||||||
.expect("failed to start notifications daemon");
|
.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");
|
let span = info_span!(parent: None, "cosmic-app-library");
|
||||||
start_component("cosmic-app-library", span, &process_manager, &env_vars).await;
|
start_component("cosmic-app-library", span, &process_manager, &env_vars).await;
|
||||||
|
|
||||||
|
|
@ -226,9 +220,9 @@ async fn main() -> Result<()> {
|
||||||
break;
|
break;
|
||||||
},
|
},
|
||||||
res = exit_rx => {
|
res = exit_rx => {
|
||||||
if res.is_err() {
|
if res.is_err() {
|
||||||
warn!("exit channel dropped session");
|
warn!("exit channel dropped session");
|
||||||
}
|
}
|
||||||
info!("EXITING: session exited by request");
|
info!("EXITING: session exited by request");
|
||||||
break;
|
break;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue