We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 751e0d6 commit 5d6c759Copy full SHA for 5d6c759
src/store/fs.rs
@@ -239,6 +239,8 @@ impl entity_manager::Params for HashContext {
239
fn reset(&mut self, id: &Self::EntityId, global: &Self::GlobalState) {
240
self.id = *id;
241
self.global = global.clone();
242
+ // this is identical to self.state = BaoFileHandle::default(),
243
+ // but does not allocate a new handle.
244
self.state.send_replace(BaoFileStorage::Initial);
245
}
246
0 commit comments