Skip to content

Commit

Permalink
Merge branch 'feat/unencrypted' into tmp/20250103
Browse files Browse the repository at this point in the history
  • Loading branch information
vvvvvv1vvvvvv committed Jan 3, 2025
2 parents e0e7975 + da0a91e commit 2f63406
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/background/service/keyring/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,12 @@ export class KeyringService extends EventEmitter {
*/
async setLocked(): Promise<MemStoreState> {
// set locked
// release all transport before lock wallet
this.keyrings.forEach((keyring) => {
if (keyring.cleanUp) {
keyring.cleanUp();
}
});
this.password = null;
passwordClearKey();
this.memStore.updateState({ isUnlocked: false });
Expand Down

0 comments on commit 2f63406

Please sign in to comment.