diff --git a/daemon/src/lib.rs b/daemon/src/lib.rs index 104c4da..5aba255 100644 --- a/daemon/src/lib.rs +++ b/daemon/src/lib.rs @@ -307,6 +307,7 @@ impl Daemon { controller.commit_gpu_power_states(); controller.set_power_profile(PowerProfile::Auto); } + fs::remove_file(SOCK_PATH).expect("Failed to remove socket"); } std::process::exit(0); }