Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure signing out does not error #5013

Merged
merged 2 commits into from
Dec 3, 2024

Conversation

Prithpal-Sooriya
Copy link
Contributor

Explanation

We do not need to perform state assertions when signing out. This is to ensure if users get into weird situations, they can still sign out without error.

References

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/3709

Changelog

@metamask/profile-sync-controller

  • CHANGED removed assert logic in performSignOut() method

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@Prithpal-Sooriya Prithpal-Sooriya requested review from a team as code owners December 2, 2024 17:49
Copy link

@mirceanis mirceanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Copy link
Contributor

@mathieuartu mathieuartu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Prithpal-Sooriya Prithpal-Sooriya merged commit 5e303ba into main Dec 3, 2024
120 checks passed
@Prithpal-Sooriya Prithpal-Sooriya deleted the fix/ensure-signout-checks branch December 3, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants