Use close instead

This commit is contained in:
Tony
2024-10-10 14:05:54 +08:00
parent 230e6bbdf3
commit 3413d2a0f7
+1 -1
View File
@@ -567,7 +567,7 @@ impl<R: Runtime> Store<R> {
if let Some(rid) = stores.get(&store.path).copied() {
drop(store);
drop(stores);
let _ = app.resources_table().take::<Store<R>>(rid);
let _ = app.resources_table().close(rid);
}
}