We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7014ba2 + 0b8a784 commit cceaba9Copy full SHA for cceaba9
.gx/lastpubver
@@ -1 +1 @@
1
-1.1.0: QmaDNZ4QMdBdku1YZWBysufYyoQt1negQGNav6PLYarbY8
+1.1.1: QmYtB7Qge8cJpXc4irsEp8zRqfnZMBeB7aTrMEkPk67DRv
package.json
@@ -23,5 +23,5 @@
23
"language": "go",
24
"license": "",
25
"name": "go-log",
26
- "version": "1.1.0"
27
-}
+ "version": "1.1.1"
+}
writer.go
@@ -230,7 +230,9 @@ func (bw *bufWriter) loop() {
230
if bufsize > MaxWriterBuffer {
231
// if we have too many messages buffered, kill the writer
232
bw.die()
233
- close(nextCh)
+ if nextCh != nil {
234
+ close(nextCh)
235
+ }
236
nextCh = nil
237
// explicity keep going here to drain incoming
238
}
0 commit comments