Skip to content

Commit

Permalink
Wipe local memory on load
Browse files Browse the repository at this point in the history
  • Loading branch information
Torantulino authored Apr 9, 2023
1 parent 2db7f08 commit 9e139fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/memory/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ def get_memory(cfg, init=False):

if memory is None:
memory = LocalCache(cfg)
if init:
memory.clear()
return memory


Expand Down

0 comments on commit 9e139fb

Please sign in to comment.