diff options
-rw-r--r-- | error_buffer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/error_buffer.go b/error_buffer.go index 0eaf03b6..0fc020c7 100644 --- a/error_buffer.go +++ b/error_buffer.go @@ -92,8 +92,8 @@ func (eb *errBuffer) Len() int { func (eb *errBuffer) Write(p []byte) (int, error) { eb.mu.Lock() eb.buf = append(eb.buf, p...) - eb.update <- nil eb.mu.Unlock() + eb.update <- nil return len(p), nil } |