mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
dd1e0b59ec
If an isolate shuts down (for example if an app calls Isolate.current.kill()), the UIDartState* on DartController will refer to a freed object. This wires through notification that the is shutting down through to the DartController so it can clean up appropriately. This also makes gives the vm-service isolate an UIDartState* so that the shutdown callback can behave correctly.