mirror of https://github.com/tidwall/tile38.git
fix live connection crash
This commit is contained in:
parent
bac8370b6e
commit
2214cbabbe
|
@ -121,6 +121,9 @@ func (c *Controller) goLive(inerr error, conn net.Conn, rd *server.AnyReaderWrit
|
|||
}
|
||||
return
|
||||
}
|
||||
if v == nil {
|
||||
continue
|
||||
}
|
||||
switch v.Command {
|
||||
default:
|
||||
log.Error("received a live command that was not QUIT")
|
||||
|
|
Loading…
Reference in New Issue