mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
I haven't been able to reproduce this bug consistently, but my theory is that the ImageDecoder was being garbage collected before it called its completion callback. This patch prevents that by keeping a reference to the image decoder while the callback is in flight. Fixes #801