diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-18 22:56:30 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-18 22:56:30 -0400 |
| commit | 47c0f573a986622a1968cf324fb1c5c5881a63a5 (patch) | |
| tree | 7301f064dc5ea34aee05a2e9e1348e338d9a2060 /redo/uitask.go | |
| parent | 08f5c42639275f7070c371f0bbdaf57f088bef91 (diff) | |
Fixed a slight channel leak in event.fire().
Diffstat (limited to 'redo/uitask.go')
| -rw-r--r-- | redo/uitask.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redo/uitask.go b/redo/uitask.go index 36d342c..42006fe 100644 --- a/redo/uitask.go +++ b/redo/uitask.go @@ -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() { |
