Fix num_tasks == 1 assertion
This commit is contained in:
parent
a72c6a6224
commit
e371522a80
2 changed files with 5 additions and 5 deletions
|
|
@ -134,8 +134,8 @@ async fn debug_server() -> anyhow::Result<()> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub fn spawn_debug_server() {
|
||||
tokio::spawn(debug_server());
|
||||
pub fn spawn_debug_server() -> tokio::task::JoinHandle<anyhow::Result<()>> {
|
||||
tokio::spawn(debug_server())
|
||||
}
|
||||
|
||||
pub trait DropPlaceholder: Send + Sync {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue