mirror of https://github.com/perkeep/perkeep.git
sync: add forgotten channel close.
Change-Id: Ie6d14b0bad1229fc775dc9a0afda349ee163cbda
This commit is contained in:
parent
62fbbb61a0
commit
3ccdb025c0
|
@ -285,6 +285,7 @@ func blobserverEnumerator(src blobserver.BlobEnumerator) func(chan<- blob.SizedR
|
|||
}
|
||||
|
||||
func (sh *SyncHandler) enumerateQueuedBlobs(dst chan<- blob.SizedRef, intr <-chan struct{}) error {
|
||||
defer close(dst)
|
||||
it := sh.queue.Find("")
|
||||
for it.Next() {
|
||||
br, ok := blob.Parse(it.Key())
|
||||
|
|
Loading…
Reference in New Issue