Closed veloman-yunkan closed 2 months ago
Attention: Patch coverage is 0%
with 32 lines
in your changes missing coverage. Please review.
Project coverage is 41.21%. Comparing base (
af96b19
) to head (65a777d
).
Files | Patch % | Lines |
---|---|---|
src/aria2.cpp | 0.00% | 26 Missing :warning: |
src/downloader.cpp | 0.00% | 6 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This is a nice improvement if you have finally found the slow down of all those downloads in kiwix-desktop !!
This PR is a relatively insignificant part of the total effort put into kiwix/kiwix-desktop#1118 - here I address only quite non typical scenarios when kiwix-desktop
is terminated with active downloads still running. But since the problem was discovered I couldn't ignore it. And as the fix is self-contained (doesn't depend on anything else) and belongs to a different repository, I filed this PR separately as an appetizer ahead of the main meal bound to be served next week. :smile:
Further testing revealed a bug with exception safety of destructors which is now fixed in a fixup commit.
@veloman-yunkan @mgautierfr So I guess this PR need new review?
@kelson42 An approval was still due, so getting one will now simply require looking at a relatively small change.
@veloman-yunkan Great, it is still helpful to reask for review (click on the refresh logo) so there is no ambiguity.
Seems good to me. Please rebase-fixup and merge directly.
This PR addresses one of the problems observed while working on kiwix/kiwix-desktop#1118. See the commit messages for details.