aboutsummaryrefslogtreecommitdiff
path: root/runners/cli/src
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat@beresnev.me>2022-02-14 10:48:38 +0300
committerGitHub <noreply@github.com>2022-02-14 10:48:38 +0300
commita43e11e08d57bd898efc72d6db94ed3d4b01f74f (patch)
tree5949ef8a2c26c5b65a64ad4b777081860deec6d9 /runners/cli/src
parent019cef47f1bf993a7a25ec73e88b1d9da25528eb (diff)
downloaddokka-a43e11e08d57bd898efc72d6db94ed3d4b01f74f.tar.gz
dokka-a43e11e08d57bd898efc72d6db94ed3d4b01f74f.tar.bz2
dokka-a43e11e08d57bd898efc72d6db94ed3d4b01f74f.zip
Shutdown coroutines dispatchers after each module pass (#2325)
* Update kotlinx.coroutines to 1.6.0 * Shutdown common coroutines dispatchers after each module pass * Don't finalize coroutines in unit tests Co-authored-by: Mikhail Zarechenskiy <mikhail.zarechenskiy@jetbrains.com>
Diffstat (limited to 'runners/cli/src')
-rw-r--r--runners/cli/src/main/kotlin/cli/main.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt
index 1dc32a45..4768828b 100644
--- a/runners/cli/src/main/kotlin/cli/main.kt
+++ b/runners/cli/src/main/kotlin/cli/main.kt
@@ -88,6 +88,8 @@ class GlobalArguments(args: Array<String>) : DokkaConfiguration {
description = "Suppress members inherited from other classes"
).default(DokkaDefaults.suppressInheritedMembers)
+ override val finalizeCoroutines: Boolean = true
+
val globalPackageOptions by parser.option(
ArgType.String,
description = "List of package source sets in format \"prefix,-deprecated,-privateApi,+warnUndocumented,+suppress;...\" "