mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
Remove the socket on daemon shutdown
This commit is contained in:
parent
bac483c619
commit
f0b081174f
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user