-
Notifications
You must be signed in to change notification settings - Fork 238
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
UI deadlock issue during SSO #2224
Comments
Problem seems to occur because The "sign into SSO" flow attempts to clear the resource cache - but can't get a lock. |
As discussed with @abrooksv |
Our If we do reuse |
I think we can follow a similar pattern - but we should use |
Describe the bug
UI thread-lock completely locks IDE UI thread during SSO authentication flow.
To reproduce
UI Hangs
Thread dump shows UI hang is occurring here :
https://github.com/aws/aws-toolkit-jetbrains/blob/master/jetbrains-core/src/software/aws/toolkits/jetbrains/core/credentials/RefreshConnectionAction.kt#L26
Relevant excerpt from stack-dump:
The text was updated successfully, but these errors were encountered: