Skip to content

Commit

Permalink
Missed if load
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend-Master committed Oct 15, 2024
1 parent fbc7149 commit 5f2de5e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/store/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,7 @@ impl<R: Runtime> StoreBuilder<R> {
self.serialize_fn,
self.deserialize_fn,
);
if load {
let _ = store_inner.load();
}
let _ = store_inner.load();

let store = Store {
auto_save: self.auto_save,
Expand Down

0 comments on commit 5f2de5e

Please sign in to comment.