Skip to content

Commit

Permalink
add mising await calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyandrews committed May 16, 2020
1 parent 7e4d65d commit 8986b3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub async fn client_main(
thread_client.task_request_name = Some(thread_task_name.to_string());
}
// Invoke the task function.
function(&mut thread_client);
function(&mut thread_client).await;
}
}
}
Expand Down Expand Up @@ -139,7 +139,7 @@ pub async fn client_main(
thread_client.task_request_name = Some(thread_task_name.to_string());
}
// Invoke the task function.
function(&mut thread_client);
function(&mut thread_client).await;
}
}
}
Expand Down

0 comments on commit 8986b3d

Please sign in to comment.