fix removal of RTMP clients

This commit is contained in:
aler9 2021-03-02 11:51:17 +01:00
parent a9385547ea
commit b06d95eac4

View File

@ -138,6 +138,9 @@ func (c *Client) run() {
if !c.conn.RConn.Publishing {
c.conn.NConn.Close()
c.log(logger.Info, "ERR: client is not publishing")
c.parent.OnClientClose(c)
<-c.terminate
return
}