#5964 Fix multiplatform sleep

This commit is contained in:
Steve Williams 2018-03-29 10:08:48 +01:00
parent eb4047b9fb
commit 67c7d0993f
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ App::run(int argc, char** argv)
LOG((CLOG_CRIT "A display invalid exception error occurred: %s\n", die.what()));
// display invalid exceptions can occur when going to sleep. When this process exits, the
// UI will restart us instantly. We don't really want that behevior, so we quies for a bit
(void)sleep(10);
ARCH->sleep(10);
}
catch (std::runtime_error& re) {
LOG((CLOG_CRIT "A runtime error occurred: %s\n", re.what()));