Trying to fix mem leak

This commit is contained in:
Saxon1 2018-05-05 23:25:59 +09:30
parent 26de66cf5c
commit 0b9f678354
1 changed files with 0 additions and 1 deletions

View File

@ -396,7 +396,6 @@ func (r *revid) outputClips() {
r.Log(Error, err2.Error())
if r.config.Output == NativeRtmp {
r.rtmpInst.EndSession()
r.rtmpInst = rtmp.NewRTMPSession(r.config.RtmpUrl, rtmpConnectionTimout)
err = r.rtmpInst.StartSession()
}
}