From d1c83731fe620ea6974b7c84bea55d64437762ca Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 12 Nov 2020 12:20:18 +0600 Subject: [PATCH] last fixes --- bot/src/main/kotlin/dev/inmo/plagubot/App.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot/src/main/kotlin/dev/inmo/plagubot/App.kt b/bot/src/main/kotlin/dev/inmo/plagubot/App.kt index c945643..6e45fbe 100644 --- a/bot/src/main/kotlin/dev/inmo/plagubot/App.kt +++ b/bot/src/main/kotlin/dev/inmo/plagubot/App.kt @@ -41,4 +41,6 @@ suspend fun main(args: Array) { } } } + + scope.coroutineContext.job.join() }