Use close instead

pull/1860/head
Tony 8 months ago
parent 230e6bbdf3
commit 3413d2a0f7
No known key found for this signature in database
GPG Key ID: 34BDD3EA27824956

@ -567,7 +567,7 @@ impl<R: Runtime> Store<R> {
if let Some(rid) = stores.get(&store.path).copied() { if let Some(rid) = stores.get(&store.path).copied() {
drop(store); drop(store);
drop(stores); drop(stores);
let _ = app.resources_table().take::<Store<R>>(rid); let _ = app.resources_table().close(rid);
} }
} }

Loading…
Cancel
Save