remove redundant check (#5311)

This commit is contained in:
Alessandro Ros 2026-01-01 22:47:03 +01:00 committed by GitHub
parent 19d3a9c80d
commit b9adbc3e09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}