• C
    Allow embedders to control Dart VM lifecycle on engine shutdown. (#10652) · b769353c
    Chinmay Garde 提交于
    This exposes the `Settings::leak_vm` flag to custom embedders. All embedder
    unit-tests now shut down the VM on the shutdown of the last engine in the
    process. The mechanics of VM shutdown are already tested in the Shell unit-tests
    harness in the DartLifecycleUnittests set of of assertions. This just exposes
    that functionality to custom embedders. Since it is part of the public stable
    API, I also switched the name of the field to be something less snarky than the
    field in private shell settings.
    b769353c
embedder_unittests.cc 16.7 KB