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
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/profile/QRegionProfileManager.kt
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -69,8 +69,9 @@ class QRegionProfileManager : PersistentStateComponent<QProfileState>, Disposabl
69
69
}
70
70
71
71
if (profiles ==null|| profiles.none { it.arn == selected.arn }) {
72
-
invalidateProfile(selected.arn)
72
+
// Note that order matters, should switch to null first then invalidateProfile
0 commit comments