<p dir="auto">Sometimes download pictures appear incomplete<br>
Code is the latest</p>
<p dir="auto">To follow on a previous issue (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="68294700" data-permission-text="Title is private" data-url="https://github.com/bumptech/glide/issues/409" data-hovercard-type="issue" data-hovercard-url="/bumptech/glide/issues/409/hovercard" href="https://github.com/bumptech/glide/issues/409">#409</a>).</p>
<p dir="auto">How are loadData / cleanup and cancel ordered in a  DataFetcher ?</p>
<p dir="auto">From previous discussion you said you do not cancel jobs, but since cancel will return instantly when do you call the cleanup when the request is cancelled ?</p>
<p dir="auto">The problem rely in the fact that cleanup do close the inputstream so if skia is in the process of decoding something it can return an half filled image without error or exception leading to corruption of the cache.</p>