Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
voioo committed Jan 5, 2025
1 parent 0ff18dd commit 8edefa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl CoreManager {
impl Drop for CoreManager {
fn drop(&mut self) {
info!("Cleaning up - restoring all cores...");

let available_cores = Self::get_available_cores();
for core_num in available_cores.iter().skip(1) {
let online_path = format!("/sys/devices/system/cpu/cpu{}/online", core_num);
Expand All @@ -150,7 +150,7 @@ impl Drop for CoreManager {
Err(e) => error!("Failed to enable core {} during cleanup: {}", core_num, e),
}
}

info!("Cleanup complete - all cores should be enabled");
}
}

0 comments on commit 8edefa7

Please sign in to comment.