mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-23 02:10:16 +08:00
Make sendPacket not synchronized
This commit is contained in:
parent
05c73017ff
commit
2b3deb24d3
@ -209,7 +209,6 @@ internal class TIMBotNetworkHandler(private val bot: Bot) : BotNetworkHandler {
|
||||
}
|
||||
}
|
||||
|
||||
@Synchronized
|
||||
override suspend fun sendPacket(packet: ClientPacket) {
|
||||
checkNotNull(socket) { "network closed" }
|
||||
if (socket!!.isClosed) {
|
||||
|
Loading…
Reference in New Issue
Block a user