The DartPersistentValue used to hold the image callback is tied to a Dart isolate. Destructing the DartPersistentValue requires entering the isolate and must be done on the UI thread. Fixes https://github.com/flutter/flutter/issues/29379