Skip to content

Commit c270360

Browse files
committed
test
1 parent 6f47238 commit c270360

File tree

1 file changed

+1
-1
lines changed
  • plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/profile

1 file changed

+1
-1
lines changed

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/profile/QRegionProfileManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class QRegionProfileManager : PersistentStateComponent<QProfileState>, Disposabl
165165
}
166166

167167
private fun invalidateProfile(arn: String) {
168-
val updated = connectionIdToActiveProfile.filterValues { it.arn != arn }
168+
val updated = connectionIdToActiveProfile.filterValues { it != null && it.arn != arn }
169169
connectionIdToActiveProfile.clear()
170170
connectionIdToActiveProfile.putAll(updated)
171171
}

0 commit comments

Comments
 (0)