Skip to content

Commit ceb53a0

Browse files
committed
fix condition bug
1 parent 6ebd685 commit ceb53a0

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/service/CodeWhispererService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class CodeWhispererService(private val cs: CoroutineScope) : Disposable {
203203
runInEdt {
204204
states = processCodeWhispererUI(workerContext, states)
205205
}
206-
if (!CodeWhispererInvocationStatus.getInstance().isDisplaySessionActive()) {
206+
if (popup.isDisposed) {
207207
LOG.debug { "Skipping sending remaining requests on CodeWhisperer session exit" }
208208
return@launch
209209
}

0 commit comments

Comments
 (0)