Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: profile sync controller - prevent infinite crashes. (#4533)
## Explanation This is an interested bug that happens through communications with our controllers. 1. If authentication fails, we call "disable profile syncing" 2. This "disable profile syncing" will make calls to our "notification services controller" 3. The notification services controller relies on auth, so if auth continues to fail then we have a loop. We are now removing the call to "disable profile syncing", and instead this will be used in the UI or called in a different area. CC @matteoscurati ## References [NOTIFY-861](https://consensyssoftware.atlassian.net/browse/NOTIFY-861) ## Changelog ### `@metamask/profile-sync-controller` - **REMOVED**: Removed internal calls to `UserStorageController:disableProfileSyncing`. ## Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] I've highlighted breaking changes using the "BREAKING" category above as appropriate
- Loading branch information