Fixed a slight channel leak in event.fire().
This commit is contained in:
parent
08f5c42639
commit
47c0f573a9
|
@ -108,6 +108,7 @@ func (e *event) fire() bool {
|
|||
cc := make(chan Doer)
|
||||
recur <- cc
|
||||
c := <-cc
|
||||
close(cc)
|
||||
result := false
|
||||
finished := make(chan struct{})
|
||||
go func() {
|
||||
|
|
Loading…
Reference in New Issue