override fun afterProcessFinished()

in plugin-unity-agent/src/main/kotlin/jetbrains/buildServer/unity/UnityRunnerBuildService.kt [276:287]


    override fun afterProcessFinished() {
        unityLogFileTailer?.apply {
            // Wait while Tailer will complete read
            Thread.sleep(TAIL_DELAY_DURATION.toMillis())
            close()
        }
        unityTestsReportFile?.let {
            if (it.exists()) {
                logger.message(ImportData("nunit", it.absolutePath).asString())
            }
        }
    }