调试
This commit is contained in:
parent
87668bc9ed
commit
2b17f28a32
@ -101,6 +101,7 @@ func (wsConn *WSConn) ReadMsg() ([]byte, error) {
|
||||
|
||||
// args must not be modified by the others goroutines
|
||||
func (wsConn *WSConn) WriteMsg(args ...[]byte) error {
|
||||
log.Debug("%d;%s", len(args[0]), string(args[0]))
|
||||
wsConn.Lock()
|
||||
defer wsConn.Unlock()
|
||||
if wsConn.closeFlag {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user