Skip to content

Commit a9a5706

Browse files
committed
Adding session cleanup after auth re-prompt
1 parent f09ce03 commit a9a5706

File tree

1 file changed

+1
-0
lines changed
  • plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/controller

1 file changed

+1
-0
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/controller/CodeTestChatController.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,7 @@ class CodeTestChatController(
959959
authController.handleAuth(context.project, message.authType)
960960
codeTestChatHelper.sendAuthenticationInProgressMessage(message.tabId) // show user that authentication is in progress
961961
codeTestChatHelper.sendChatInputEnabledMessage(false) // disable the input field while authentication is in progress
962+
sessionCleanUp(codeTestChatHelper.getActiveSession().tabId)
962963
}
963964

964965
private suspend fun updateBuildAndExecuteProgressCard(

0 commit comments

Comments
 (0)