From 01d85af133a988f6d5b9434689081d1b4c4dcad8 Mon Sep 17 00:00:00 2001 From: Alan Noble Date: Fri, 22 Feb 2019 20:45:13 +0000 Subject: [PATCH] Removed incorrect Close upon Dial error. --- revid/senders.go | 1 - 1 file changed, 1 deletion(-) diff --git a/revid/senders.go b/revid/senders.go index e86cb24b..9d326471 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -273,7 +273,6 @@ func newRtmpSender(url string, timeout uint, retries int, log func(lvl int8, msg break } log(logger.Error, err.Error()) - conn.Close() if n < retries-1 { log(logger.Info, pkg+"retry rtmp connection") }