mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
update.
This commit is contained in:
parent
f05d841b06
commit
14d741fe93
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user