iTwin / mobile-samples

MIT License
8 stars 4 forks source link

iModel download cancelation may contain a race condition #327

Open tcobbs-bentley opened 5 months ago

tcobbs-bentley commented 5 months ago

When you cancel an iModel download in the mobile sample apps, the UI almost immediately updates to indicate completion, while in reality the backend is still potentially waiting for a chunk to download before completing the cancelation. Immediately downloading the same file again may cause corruption (although that has yet to be determined).