rtmp: fix client removal after an error

This commit is contained in:
aler9 2021-04-01 19:31:57 +02:00
parent 3636f0106a
commit 488b24dfe4

View file

@ -310,6 +310,7 @@ func (c *Client) runRead() {
c.parent.OnClientClose(c)
<-c.terminate
return
}
writerDone := make(chan error)