diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc index 1b0cb1f2012..cf6e2e39ba5 100644 --- a/runtime/vm/isolate.cc +++ b/runtime/vm/isolate.cc @@ -565,8 +565,7 @@ void IsolateGroup::Shutdown() { Dart::UptimeMillis(), name); } MonitorLocker ml(Isolate::isolate_creation_monitor_); - if (!Isolate::creation_enabled_ && - !IsolateGroup::HasApplicationIsolateGroups()) { + if (!Isolate::creation_enabled_) { ml.Notify(); } if (trace_shutdown) {