Skip to content

Commit

Permalink
fix: include memory cache on clear (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
r4vn authored Apr 2, 2024
1 parent 693e49d commit 4dc0e02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions features/keychain/module/memoized-keychain.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class MemoizedKeychain extends Keychain {

clear = async () => {
await super.clear()
this.#publicKeys = Object.create(null)
await this.#storage.delete(CACHE_KEY)
}
}
Expand Down

0 comments on commit 4dc0e02

Please sign in to comment.