Commit 04bed22e authored by Him188's avatar Him188

Fix `awaitDisconnection()`

parent 2b464a28
......@@ -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()
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment