mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-30 02:30:12 +08:00
Fix awaitDisconnection()
This commit is contained in:
parent
2b464a287e
commit
04bed22ea2
@ -531,5 +531,5 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
|
||||
super.close(cause)
|
||||
}
|
||||
|
||||
override suspend fun awaitDisconnection() = _packetReceiverJob?.join() ?: Unit
|
||||
override suspend fun awaitDisconnection() = supervisor.join()
|
||||
}
|
Loading…
Reference in New Issue
Block a user