diff --git a/runtime/dart_isolate.cc b/runtime/dart_isolate.cc index bb62265549f89..b6c5e41e3f708 100644 --- a/runtime/dart_isolate.cc +++ b/runtime/dart_isolate.cc @@ -706,9 +706,7 @@ bool DartIsolate::RunFromLibrary(std::optional library_name, ? tonic::ToDart(entrypoint.value().c_str()) : tonic::ToDart("main"); - if (!FindAndInvokeDartPluginRegistrant()) { - InvokeDartPluginRegistrantIfAvailable(library_handle); - } + InvokeDartPluginRegistrantIfAvailable(library_handle); auto user_entrypoint_function = ::Dart_GetField(library_handle, entrypoint_handle);