Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle finished downloads that weren't removed from the queue
In case a download was finished, but the downloader got stopped before it was able to remove the finished download from the queue, the downloader got stuck in an endless loop of starting and pausing downloads. This was caused by selecting the next chapter to download and then recognizing in "Downloader::step", that there is another chapter to download before the current one in the queue. However, since this recognized chapter is already downloaded, the downloader selected the next queued chapter again. It was then stuck in this loop until the finished chapter was manually removed from the queue.
- Loading branch information