mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-24 02:40:13 +08:00
Remove inline modifier for val bot
This commit is contained in:
parent
2a37904021
commit
a8c67bc23e
@ -39,7 +39,7 @@ internal expect val NetworkDispatcher: CoroutineDispatcher
|
|||||||
*
|
*
|
||||||
* @see BotNetworkHandler
|
* @see BotNetworkHandler
|
||||||
*/
|
*/
|
||||||
internal class TIMBotNetworkHandler internal constructor(coroutineContext: CoroutineContext, override inline val bot: Bot) :
|
internal class TIMBotNetworkHandler internal constructor(coroutineContext: CoroutineContext, override val bot: Bot) :
|
||||||
BotNetworkHandler<TIMBotNetworkHandler.BotSocketAdapter>, CoroutineScope {
|
BotNetworkHandler<TIMBotNetworkHandler.BotSocketAdapter>, CoroutineScope {
|
||||||
|
|
||||||
override val supervisor: CompletableJob = SupervisorJob(coroutineContext[Job])
|
override val supervisor: CompletableJob = SupervisorJob(coroutineContext[Job])
|
||||||
|
Loading…
Reference in New Issue
Block a user