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