You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix deadlock in AccMgrAuthTokenProvider when account is removed during token refresh
When logout occurs while threads are refreshing tokens, the method will return for matchingAccount == null and therefore the lock.notifyAll() that is later in the method will never be called causing other threads to be stuck on lock.wait().
Now the try-finally wraps all the logic after gettingAuthToken = true to ensure that lock.notifyAll() is always called.
Fixes W-21304558
0 commit comments