Skip to content

Commit 50e9fba

Browse files
committed
fix unlock error
1 parent f855626 commit 50e9fba

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLspService.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ class AmazonQLspService(private val project: Project, private val cs: CoroutineS
260260
// After waiting, recursively call this function to check again
261261
// (in case conditions changed while we were waiting)
262262
waitForRestartSlot()
263+
restartMutex.lock()
263264
}
264265

265266
suspend fun<T> execute(runnable: suspend AmazonQLspService.(AmazonQLanguageServer) -> T): T {

0 commit comments

Comments
 (0)