Merged in revid/nilcheck (pull request #33)

revid: fix nil dereference on RTMP reconnect
This commit is contained in:
kortschak 2018-06-16 04:10:17 +00:00
commit 4c0d219fbf
1 changed files with 3 additions and 1 deletions

View File

@ -403,7 +403,9 @@ func (r *Revid) outputClips() {
r.Log(Debug, "Trying to send again with new connection...")
err = r.destination.send()
r.Log(Error, err.Error())
if err != nil {
r.Log(Error, err.Error())
}
}
}