From 3413d2a0f7276969575e8b68ec9d845ea28dfda8 Mon Sep 17 00:00:00 2001 From: Tony Date: Thu, 10 Oct 2024 14:05:54 +0800 Subject: [PATCH] Use close instead --- plugins/store/src/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/store/src/store.rs b/plugins/store/src/store.rs index 82075961..b9122f99 100644 --- a/plugins/store/src/store.rs +++ b/plugins/store/src/store.rs @@ -567,7 +567,7 @@ impl Store { if let Some(rid) = stores.get(&store.path).copied() { drop(store); drop(stores); - let _ = app.resources_table().take::>(rid); + let _ = app.resources_table().close(rid); } }