mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
Fixed crash on no power state
This commit is contained in:
parent
e52101a6a2
commit
80c1b12802
@ -173,7 +173,6 @@ fn build_ui(application: >k::Application) {
|
||||
println!("Set current gpu id to {}", current_gpu_id);
|
||||
|
||||
set_info(&builder, d, current_gpu_id.clone(), &gpu_power_level, &vram_power_level);
|
||||
println!("{}", gpu_power_level.lock().unwrap().expect("No power state"));
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user