diff --git a/src/rust/image_model.rs b/src/rust/image_model.rs index ed4e9cd..aad4065 100644 --- a/src/rust/image_model.rs +++ b/src/rust/image_model.rs @@ -230,7 +230,6 @@ impl image_model::ImageModel { if index < 0 || (index as usize) >= self.images.len() { return false; } - let rt = tokio::runtime::Runtime::new().unwrap(); rt.block_on(async {