From 0b9f67835474ddeb4b374152fc1188089a49fd58 Mon Sep 17 00:00:00 2001 From: Saxon1 Date: Sat, 5 May 2018 23:25:59 +0930 Subject: [PATCH] Trying to fix mem leak --- revid/Revid.go | 1 - 1 file changed, 1 deletion(-) diff --git a/revid/Revid.go b/revid/Revid.go index 8a36c654..6faefacc 100644 --- a/revid/Revid.go +++ b/revid/Revid.go @@ -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() } }