diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-01-12 08:50:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-11 23:50:02 -0800 |
commit | 275a5c65a20529cd4a3d775b8d8c6e9b261c76b1 (patch) | |
tree | 9f861e36e70be809d5586128a24b9f7b4332e09e /runtime/ops/process.rs | |
parent | 36ff7bdf575e0547fabd8957ee778cc4224d5956 (diff) |
upgrade: tokio 1.0 (#8779)
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Diffstat (limited to 'runtime/ops/process.rs')
-rw-r--r-- | runtime/ops/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs index e0a9a0795..63e22b601 100644 --- a/runtime/ops/process.rs +++ b/runtime/ops/process.rs @@ -199,7 +199,7 @@ async fn op_run_status( .get::<ChildResource>(rid) .ok_or_else(bad_resource_id)?; let mut child = resource.borrow_mut().await; - let run_status = (&mut *child).await?; + let run_status = child.wait().await?; let code = run_status.code(); #[cfg(unix)] |