From 7ade30292b75373057f5ea340f843b8871bec6c0 Mon Sep 17 00:00:00 2001 From: Gregor Riepl Date: Wed, 12 Apr 2017 17:28:35 +0200 Subject: [PATCH] Copy pasta --- src/restreamer/connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/restreamer/connection.go b/src/restreamer/connection.go index 42b882d..2eb136b 100644 --- a/src/restreamer/connection.go +++ b/src/restreamer/connection.go @@ -104,7 +104,7 @@ func (conn *Connection) Serve() { // drain the shutdown channel select { - case <-streamer.shutdown: + case <-conn.shutdown: default: } }