Add some sleep to AppFrame idle to prevent it from chewing up too much CPU while minimized

This commit is contained in:
Charles J. Cliffe 2015-08-12 18:16:53 -04:00
parent 6ae02bee9c
commit 8bce632982
1 changed files with 1 additions and 0 deletions

View File

@ -769,6 +769,7 @@ void AppFrame::OnIdle(wxIdleEvent& event) {
wproc->run();
}
usleep(5000);
/* scopeCanvas->Refresh();
waterfallCanvas->Refresh();