ilya-zlobintsev / LACT

Linux AMDGPU Configuration Tool
MIT License
988 stars 28 forks source link

fix: fix press 'Enable Overclocking' will panic #320

Closed eatradish closed 1 month ago

eatradish commented 1 month ago

Lact v0.5.4 and master press 'Enable Overclocking' button will panic, output:

thread 'main' panicked at lact-gui/src/app/mod.rs:765:27:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This commit fixes this issue:

图片