Skip to content

Commit

Permalink
fix: listener add empty implement avoid panic.
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
  • Loading branch information
FGadvancer committed Dec 15, 2023
1 parent 1efa0ba commit 26fc897
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/interaction/long_conn_mgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ func (c *LongConnMgr) writeBinaryMsg(req GeneralWsReq) error {
}
return c.conn.WriteMessage(MessageBinary, resultBuf)
} else {
log.ZWarn(c.ctx, "length", nil, "length", len(encodeBuf))
return c.conn.WriteMessage(MessageBinary, encodeBuf)
}
}
Expand Down

0 comments on commit 26fc897

Please sign in to comment.