good morning!!!!

Skip to content
Snippets Groups Projects
Commit 78e37e98 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

downloader: fixed a race condition for download status

parent 0d536734
Branches
Tags
No related merge requests found
...@@ -293,7 +293,6 @@ out: ...@@ -293,7 +293,6 @@ out:
d.queue.put(chunk.hashes) d.queue.put(chunk.hashes)
} }
} }
atomic.StoreInt32(&d.downloadingBlocks, 1)
} else if len(d.queue.fetching) == 0 { } else if len(d.queue.fetching) == 0 {
// When there are no more queue and no more `fetching`. We can // When there are no more queue and no more `fetching`. We can
// safely assume we're done. Another part of the process will check // safely assume we're done. Another part of the process will check
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment