FIR IDE: fix flaky completion test
This commit is contained in:
committed by
TeamCityServer
parent
108176d0b6
commit
fa2f2c34cb
+4
-2
@@ -17,8 +17,10 @@ internal fun InsertionContext.addSymbolAndInvokeCompletion(symbol: String) {
|
|||||||
|
|
||||||
private fun invokeCompletion(context: InsertionContext) {
|
private fun invokeCompletion(context: InsertionContext) {
|
||||||
ApplicationManager.getApplication().invokeLater {
|
ApplicationManager.getApplication().invokeLater {
|
||||||
CodeCompletionHandlerBase(CompletionType.BASIC, true, false, true)
|
if (!context.editor.isDisposed) {
|
||||||
.invokeCompletion(context.project, context.editor)
|
CodeCompletionHandlerBase(CompletionType.BASIC, true, false, true)
|
||||||
|
.invokeCompletion(context.project, context.editor)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user