#5964 Fix multiplatform sleep
This commit is contained in:
parent
eb4047b9fb
commit
67c7d0993f
|
@ -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()));
|
||||
|
|
Loading…
Reference in New Issue