I’ve updated to v1.68.2. I’ll follow up if I can reproduce the race condition again but I suspect you squashed obvious presentations of it. In commit 8a50165, the change to ImageViewerActivity.kt and LinkFetcher.kt makes reasonable sense to me for my bug. A singleton downloader in a threaded environment presents several kinds of foot-guns. Wrapping the return into a promise certainly sidesteps some data races.
I’ve updated to v1.68.2. I’ll follow up if I can reproduce the race condition again but I suspect you squashed obvious presentations of it. In commit 8a50165, the change to ImageViewerActivity.kt and LinkFetcher.kt makes reasonable sense to me for my bug. A singleton downloader in a threaded environment presents several kinds of foot-guns. Wrapping the return into a promise certainly sidesteps some data races.