Skip to content

Commit

Permalink
no need spawn detached
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Ho authored and Colin Ho committed Dec 4, 2024
1 parent 404ac64 commit 6fed790
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/common/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,6 @@ impl Runtime {
{
RuntimeTask::new(self.runtime.handle(), future)
}

pub fn spawn_detached<F>(&self, future: F)
where
F: Future + Send + 'static,
F::Output: Send + 'static,
{
self.runtime.spawn(future);
}
}

fn init_compute_runtime() -> RuntimeRef {
Expand Down

0 comments on commit 6fed790

Please sign in to comment.