Skip to content

Commit

Permalink
Fixed standby CPU usage bug
Browse files Browse the repository at this point in the history
There was no clause for no activation method being selected, resulting
in a loop running endlessly with no timer.
  • Loading branch information
PsychedelicShayna committed Nov 10, 2021
1 parent 6620913 commit be132ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/main_wnd.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ void MainWindow::monitoringWorker() {
}
}

Sleep(1000);
} else {
Sleep(1000);
}
}
Expand Down

0 comments on commit be132ff

Please sign in to comment.