mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-05 23:50:08 +08:00
Explicitly access property coroutineContext
This commit is contained in:
parent
015c394324
commit
9bc982c089
@ -130,7 +130,7 @@ class Bot(val account: BotAccount, val logger: MiraiLogger, context: CoroutineCo
|
||||
} catch (e: Exception) {
|
||||
logger.error("Cannot close network handler", e)
|
||||
}
|
||||
network = TIMBotNetworkHandler(coroutineContext + configuration, this@Bot)
|
||||
network = TIMBotNetworkHandler(this@Bot.coroutineContext + configuration, this@Bot)
|
||||
|
||||
return network.login()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user