chore: merge main and fix detached-task lint

This commit is contained in:
Yang Cen
2026-09-24 14:09:12 +08:00
17 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "lancedb-python"
version = "0.40.0-beta.8"
version = "0.40.0-beta.9"
publish = false
edition.workspace = true
description = "Python bindings for LanceDB"
+2 -2
View File
@@ -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));
}
}
}