Panic: send on closed channel

I’m getting this panic on the server when running builds with large logs:

panic: send on closed channel

goroutine 168623 [running]:
github.com/drone/drone/server.LogStreamSSE.func2.1(0xc428365a38, 0x1, 0x1)
       /go/src/github.com/drone/drone/server/stream.go:196 +0xc4
created by github.com/drone/drone/vendor/github.com/cncd/logging.(*log).Write
       /go/src/github.com/drone/drone/vendor/github.com/cncd/logging/log.go:74 +0x1cd