URL::DownloadTask::downloaded needs to be atomic

Tsan is flagging up a data race if I tried and calculate the progress of a download whilst it is happening.
I think the downloaded member and probably finished should simply be atomic.

Cheers

1 Like

…and I just stumbled upon a bug caused by this. Can the JUCE team please consider this change?