Update stream.go

This commit is contained in:
Brad Rydzewski 2016-03-23 13:14:33 -07:00
parent d9f49cb77a
commit b44611dda5

View file

@ -92,6 +92,9 @@ func GetStream(c *gin.Context) {
}()
go func() {
defer func() {
recover()
}()
<-c.Writer.CloseNotify()
rc.Close()
}()