mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This solves two problems: * UIDartState was being deleted during destruction of DartController after the isolate had been shut down. The UIDartState held persistent handles to Dart objects, and deleting them when the isolate no longer exists caused an assertion failure. * DartStates created for secondary isolates were never being deleted Fixes https://github.com/flutter/flutter/issues/2549