Skip to content

Commit

Permalink
run fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Aug 14, 2024
1 parent fd3b619 commit 70abf8e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/app-lib/src/state/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,9 @@ impl Process {

loop {
if let Some(t) = self.try_wait().await? {
println!("Minecraft Child exited with status {} pid: {}", t, self.pid);
mc_exit_status = t;
break;
}
println!("Still running Minecraft Child pid: {}", self.pid);
// sleep for 10ms
tokio::time::sleep(tokio::time::Duration::from_millis(50)).await;

Expand All @@ -188,7 +186,7 @@ impl Process {
ProcessPayloadType::Finished,
"Exited process",
)
.await?;
.await?;

// Now fully complete- update playtime one last time
update_playtime(&mut last_updated_playtime, &self.profile_path, true)
Expand Down

0 comments on commit 70abf8e

Please sign in to comment.