Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Not setting channel size results in flaky behaviour (close #1258)
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Aug 12, 2015
1 parent 89c5155 commit 23cfb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prog/weavewait/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var (
)

func main() {
usr2 := make(chan os.Signal)
usr2 := make(chan os.Signal, 1)
signal.Notify(usr2, syscall.SIGUSR2)
<-usr2

Expand Down

0 comments on commit 23cfb61

Please sign in to comment.