mirror of
https://github.com/bluenviron/mediamtx.git
synced 2026-01-22 19:39:48 -08:00
remove redundant check (#5311)
This commit is contained in:
parent
19d3a9c80d
commit
b9adbc3e09
1 changed files with 1 additions and 4 deletions
|
|
@ -803,10 +803,7 @@ func (pa *path) executeRemoveReader(r defs.Reader) {
|
|||
}
|
||||
|
||||
func (pa *path) executeRemovePublisher() {
|
||||
if pa.stream != nil {
|
||||
pa.setNotReady()
|
||||
}
|
||||
|
||||
pa.setNotReady()
|
||||
pa.source = nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue