1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-03 23:29:33 +00:00

small refactor

This commit is contained in:
2025-06-14 19:36:17 +06:00
parent 91f4d3bf24
commit bab69f523a

View File

@@ -217,7 +217,7 @@ fun <T, BC : BehaviourContext> BC.launchInNewSubContext(
updatesUpstreamFlow = updatesUpstreamFlow, updatesUpstreamFlow = updatesUpstreamFlow,
subcontextInitialAction = subcontextInitialAction subcontextInitialAction = subcontextInitialAction
).apply { ).apply {
launchLoggingDropExceptions(logger = Log ?: KSLog) { this@apply.launchLoggingDropExceptions(logger = Log ?: KSLog) {
behaviourContextReceiver() behaviourContextReceiver()
} }
}.coroutineContext.job }.coroutineContext.job