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

Try calling windowlocation inside timeout and after await #139855

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

ntsummers1
Copy link
Collaborator

Description

Feels like because the logout method is async, its calling the window.location.href at the same time as the logout is happening causing a race condition and making the logout get cancelled. Would this fix it if its specifically after the await call?

Copy link

codeclimate bot commented Dec 11, 2024

Code Climate has analyzed commit cc92e8d and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (90% is the threshold).

This pull request will bring the total coverage in the repository to 81.1% (0.0% change).

View more on Code Climate.

@gmrabian gmrabian marked this pull request as ready for review December 11, 2024 17:55
@gmrabian gmrabian merged commit d4a3af6 into main Dec 11, 2024
21 checks passed
@gmrabian gmrabian deleted the amp-debug-location branch December 11, 2024 18:23
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.

2 participants