Skip to content

Commit

Permalink
Remove outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Al12rs committed Jul 1, 2024
1 parent 6c60b88 commit 0534f37
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,6 @@ public async Task StopAsync(CancellationToken cancellationToken)
{
var suspendingTasks = _downloads.Items
.Where(dl => dl.PersistentState.Status == DownloadTaskStatus.Downloading)
// TODO(Al12rs): should Suspend() instead, but only after moving ongoing dl files outside Temp folder,
// that is otherwise cleaned up on application close, causing exceptions due to file in use,
// on top of discarding all the progress.
.Select(dl => dl.Suspend());

await Task.WhenAll(suspendingTasks);
Expand Down

0 comments on commit 0534f37

Please sign in to comment.