mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-14 10:52:50 +00:00
Update stream.go
This commit is contained in:
@@ -92,6 +92,9 @@ func GetStream(c *gin.Context) {
|
||||
}()
|
||||
|
||||
go func() {
|
||||
defer func() {
|
||||
recover()
|
||||
}()
|
||||
<-c.Writer.CloseNotify()
|
||||
rc.Close()
|
||||
}()
|
||||
|
Reference in New Issue
Block a user