1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-01 06:09:22 +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,
subcontextInitialAction = subcontextInitialAction
).apply {
launchLoggingDropExceptions(logger = Log ?: KSLog) {
this@apply.launchLoggingDropExceptions(logger = Log ?: KSLog) {
behaviourContextReceiver()
}
}.coroutineContext.job