server fix
This commit is contained in:
parent
6febb8ac00
commit
e3d84b8289
@ -57,6 +57,8 @@ impl NavkaClientApp {
|
||||
if self.dev_mode {
|
||||
tokio::time::sleep(Duration::from_secs(30)).await;
|
||||
warn!("dev‑mode timeout");
|
||||
self.aggregator.keyboards.dev.ungrab();
|
||||
self.aggregator.mice.dev.ungrab();
|
||||
std::process::exit(0);
|
||||
} else { futures::future::pending::<()>().await }
|
||||
};
|
||||
|
||||
@ -38,7 +38,7 @@ async fn main() -> Result<()> {
|
||||
let file = OpenOptions::new()
|
||||
.create(true)
|
||||
.write(true)
|
||||
.truncate(true)
|
||||
// .truncate(true)
|
||||
.open(&log_path)?;
|
||||
let (file_writer, guard) = non_blocking(file);
|
||||
_guard = Some(guard);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user