aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/DokkaGenerator.kt
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-04-08 16:23:19 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-04-22 13:10:48 +0200
commit5a72f4a7e63d96f98072bf3989373592c2b906c2 (patch)
tree202f5f86cd8e3b50cd93bf1b8c2bdc02788fed92 /core/src/main/kotlin/DokkaGenerator.kt
parent089113e352ecd49216602bb1a02fbfada6a40788 (diff)
downloaddokka-5a72f4a7e63d96f98072bf3989373592c2b906c2.tar.gz
dokka-5a72f4a7e63d96f98072bf3989373592c2b906c2.tar.bz2
dokka-5a72f4a7e63d96f98072bf3989373592c2b906c2.zip
Apply requested changes
Diffstat (limited to 'core/src/main/kotlin/DokkaGenerator.kt')
-rw-r--r--core/src/main/kotlin/DokkaGenerator.kt11
1 files changed, 1 insertions, 10 deletions
diff --git a/core/src/main/kotlin/DokkaGenerator.kt b/core/src/main/kotlin/DokkaGenerator.kt
index 0a797769..053b4cb6 100644
--- a/core/src/main/kotlin/DokkaGenerator.kt
+++ b/core/src/main/kotlin/DokkaGenerator.kt
@@ -3,10 +3,6 @@ package org.jetbrains.dokka
import com.intellij.openapi.vfs.VirtualFileManager
import com.intellij.psi.PsiJavaFile
import com.intellij.psi.PsiManager
-import kotlinx.coroutines.Dispatchers
-import kotlinx.coroutines.GlobalScope
-import kotlinx.coroutines.launch
-import kotlinx.coroutines.runBlocking
import org.jetbrains.dokka.analysis.AnalysisEnvironment
import org.jetbrains.dokka.analysis.DokkaResolutionFacade
import org.jetbrains.dokka.model.DModule
@@ -113,12 +109,7 @@ class DokkaGenerator(
context: DokkaContext
) {
val renderer = context.single(CoreExtensions.renderer)
- runBlocking {
- val scope = this
- with(renderer) {
- scope.render(transformedPages).join()
- }
- }
+ renderer.render(transformedPages)
}
private fun createEnvironmentAndFacade(pass: DokkaConfiguration.PassConfiguration): EnvironmentAndFacade =