From 0f3479083969081cd677be212934ea812f09e9d9 Mon Sep 17 00:00:00 2001 From: Gatefixer <313497061+lancedb-gatefixer[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2026 03:03:21 +0000 Subject: [PATCH] fix: explicitly detach Python runtime tasks for Clippy --- python/src/runtime.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/src/runtime.rs b/python/src/runtime.rs index 33ffd8bf9..303429486 100644 --- a/python/src/runtime.rs +++ b/python/src/runtime.rs @@ -210,10 +210,10 @@ where }; match runtime::Handle::try_current() { Ok(handle) => { - let _ = handle.spawn(task); + drop(handle.spawn(task)); } Err(_) => { - let _ = get_runtime().spawn(task); + drop(get_runtime().spawn(task)); } } }