From 488b24dfe418349b7557a34f56231d47824989d9 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Thu, 1 Apr 2021 19:31:57 +0200 Subject: [PATCH] rtmp: fix client removal after an error --- internal/clientrtmp/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/clientrtmp/client.go b/internal/clientrtmp/client.go index 6a168b71842..219920f69ef 100644 --- a/internal/clientrtmp/client.go +++ b/internal/clientrtmp/client.go @@ -310,6 +310,7 @@ func (c *Client) runRead() { c.parent.OnClientClose(c) <-c.terminate + return } writerDone := make(chan error)