projects
/
lightning.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91503eb
)
Error out early.
author
Tom Clegg <tom@tomclegg.ca>
Fri, 23 Apr 2021 17:05:24 +0000
(13:05 -0400)
committer
Tom Clegg <tom@tomclegg.ca>
Fri, 23 Apr 2021 17:05:24 +0000
(13:05 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
annotate.go
patch
|
blob
|
history
diff --git
a/annotate.go
b/annotate.go
index 4ac6598f499f7ce763e1b971cf2acf51a12f5619..b792119b20f84fd281639642a00d4d053a935d77 100644
(file)
--- a/
annotate.go
+++ b/
annotate.go
@@
-184,6
+184,9
@@
func (cmd *annotatecmd) exportTileDiffs(outw io.Writer, tilelib *tileLibrary) er
for _, seqname := range seqnames {
seqname := seqname
throttle.Acquire()
+ if throttle.Err() != nil {
+ break
+ }
go func() {
defer throttle.Release()
throttle.Report(cmd.annotateSequence(throttle, outch, tilelib, taglen, refname, seqname, refcs[seqname], len(refs) > 1))