in src/main/kotlin/com/jetbrains/plugin/jtreg/listeners/FileListener.kt [70:83]
override fun fileClosed(source: FileEditorManager, file: VirtualFile) {
testInfos[file]?.let { testInfo ->
logger.debug("Closing indexed file ${file.path}")
DumbService.getInstance(project).smartInvokeLater({
FileHandlers.processFileClosed(project, rootManager, testInfo)
testInfo.dispose()
testInfos.remove(file)
alarms[file]?.cancelAllRequests()
listeners.remove(file)
alarms.remove(file)
}, ModalityState.nonModal())
}
}