mirror of
https://github.com/harness/drone.git
synced 2025-05-12 15:10:09 +08:00
Update stream.go
This commit is contained in:
parent
d9f49cb77a
commit
b44611dda5
@ -92,6 +92,9 @@ func GetStream(c *gin.Context) {
|
|||||||
}()
|
}()
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
|
defer func() {
|
||||||
|
recover()
|
||||||
|
}()
|
||||||
<-c.Writer.CloseNotify()
|
<-c.Writer.CloseNotify()
|
||||||
rc.Close()
|
rc.Close()
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user