From 6fed79093a83b8587e96e8b2f0ad178f87e5342b Mon Sep 17 00:00:00 2001 From: Colin Ho Date: Wed, 4 Dec 2024 00:10:49 -0800 Subject: [PATCH] no need spawn detached --- src/common/runtime/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/common/runtime/src/lib.rs b/src/common/runtime/src/lib.rs index 66e9406f0b..2c8fc6acdd 100644 --- a/src/common/runtime/src/lib.rs +++ b/src/common/runtime/src/lib.rs @@ -136,14 +136,6 @@ impl Runtime { { RuntimeTask::new(self.runtime.handle(), future) } - - pub fn spawn_detached(&self, future: F) - where - F: Future + Send + 'static, - F::Output: Send + 'static, - { - self.runtime.spawn(future); - } } fn init_compute_runtime() -> RuntimeRef {