From 275a5c65a20529cd4a3d775b8d8c6e9b261c76b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 12 Jan 2021 08:50:02 +0100 Subject: upgrade: tokio 1.0 (#8779) Co-authored-by: Bert Belder --- runtime/ops/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/ops/process.rs') 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::(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)] -- cgit v1.2.3