Update stream.go
This commit is contained in:
parent
d9f49cb77a
commit
b44611dda5
1 changed files with 3 additions and 0 deletions
|
@ -92,6 +92,9 @@ func GetStream(c *gin.Context) {
|
|||
}()
|
||||
|
||||
go func() {
|
||||
defer func() {
|
||||
recover()
|
||||
}()
|
||||
<-c.Writer.CloseNotify()
|
||||
rc.Close()
|
||||
}()
|
||||
|
|
Loading…
Reference in a new issue