Skip to content

Commit cd26944

Browse files
committed
remove necessary code
1 parent 6213675 commit cd26944

File tree

1 file changed

+0
-5
lines changed
  • plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/popup

1 file changed

+0
-5
lines changed

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/popup/CodeWhispererPopupManager.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,6 @@ class CodeWhispererPopupManager {
240240
}
241241

242242
fun dontClosePopupAndRun(runnable: () -> Unit) {
243-
// Act like a semaphore
244-
if (!shouldListenerCancelPopup) {
245-
runnable()
246-
return
247-
}
248243
try {
249244
shouldListenerCancelPopup = false
250245
runnable()

0 commit comments

Comments
 (0)