Fix num_tasks == 1 assertion

This commit is contained in:
Igor Katson 2024-11-06 16:28:32 +00:00
parent a72c6a6224
commit e371522a80
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
2 changed files with 5 additions and 5 deletions

View file

@ -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 {}