🔒️ Move away from std::env::set_var, which is unsound
This commit is contained in:
parent
fb1a832916
commit
c84857ae9b
4 changed files with 12 additions and 6 deletions
|
|
@ -6,7 +6,7 @@ use tokio_util::sync::CancellationToken;
|
|||
pub async fn run_compositor(token: CancellationToken, wayland_socket_tx: oneshot::Sender<String>) {
|
||||
let mut wayland_socket_tx = Some(wayland_socket_tx);
|
||||
let (tx, mut rx) = unbounded_channel::<ProcessEvent>();
|
||||
ProcessHandler::new(tx, &token).run("cosmic-comp", vec![]);
|
||||
ProcessHandler::new(tx, &token).run("cosmic-comp", vec![], vec![]);
|
||||
let span = info_span!("cosmic-comp");
|
||||
let _enter = span.enter();
|
||||
while let Some(event) = rx.recv().await {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue