1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00
This commit is contained in:
Mrs4s 2020-07-27 04:33:06 +08:00
parent f05d841b06
commit 14d741fe93

View File

@ -679,6 +679,11 @@ func (c *QQClient) loop() {
retry = 0 retry = 0
//fmt.Println(pkt.CommandName) //fmt.Println(pkt.CommandName)
go func() { go func() {
defer func() {
if pan := recover(); pan != nil {
//
}
}()
decoder, ok := c.decoders[pkt.CommandName] decoder, ok := c.decoders[pkt.CommandName]
if !ok { if !ok {
if f, ok := c.handlers[pkt.SequenceId]; ok { if f, ok := c.handlers[pkt.SequenceId]; ok {