mirror of https://github.com/wayvr-org/wayvr.git
wayvrctl: sleep to workaround sigbus from proto error
This commit is contained in:
parent
f038ad8a87
commit
17453ae1d9
|
|
@ -1,4 +1,4 @@
|
|||
use std::{collections::HashMap, process::{self, ExitCode}};
|
||||
use std::{collections::HashMap, process::{self, ExitCode}, time::Duration};
|
||||
|
||||
use anyhow::Context;
|
||||
use clap::Parser;
|
||||
|
|
@ -33,6 +33,8 @@ async fn main() -> ExitCode {
|
|||
if let Err(e) = maybe_err{
|
||||
log::error!("{e:?}");
|
||||
return ExitCode::FAILURE;
|
||||
} else {
|
||||
std::thread::sleep(Duration::from_millis(20));
|
||||
}
|
||||
|
||||
ExitCode::SUCCESS
|
||||
|
|
|
|||
Loading…
Reference in New Issue