mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-03 23:29:33 +00:00
small refactor
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user