Skip to content

Commit

Permalink
Fix module. Update signal to broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
silvajp2 committed Jun 4, 2021
1 parent 29700cc commit d05316d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bufpipe.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,6 @@ func (w *PipeWriter) CloseWithError(err error) error {
err = io.EOF
}
w.rerr = err
w.cond.Signal()
w.cond.Broadcast()
return nil
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/wnke/bufpipe
module github.com/acomagu/bufpipe

go 1.12

Expand Down

0 comments on commit d05316d

Please sign in to comment.