Remove use of '--enable-isolate-groups' dart vm flag. (flutter/engine#30839)

The flag was removed after isolate groups were enabled by default.

Fixes https://github.com/flutter/flutter/issues/95331
This commit is contained in:
Alexander Aprelev
2022-01-13 09:11:45 -08:00
committed by GitHub
parent 9586f13b6d
commit b6176f8901

View File

@@ -566,7 +566,7 @@ bool DartIsolate::LoadKernel(std::shared_ptr<const fml::Mapping> mapping,
tonic::DartState::Scope scope(this);
if (!child_isolate || !Dart_IsVMFlagSet("--enable-isolate-groups")) {
if (!child_isolate) {
// Use root library provided by kernel in favor of one provided by snapshot.
Dart_SetRootLibrary(Dart_Null());