Skip to content

Commit

Permalink
Include #stopPolling() call in KeyringController:lock listener
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Feb 6, 2024
1 parent 9a4ae93 commit 91be385
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ export class TokenDetectionController extends StaticIntervalPollingController<

this.messagingSystem.subscribe('KeyringController:lock', () => {
this.#isUnlocked = false;
this.#stopPolling();
});

this.messagingSystem.subscribe(
Expand Down

0 comments on commit 91be385

Please sign in to comment.