From 138cde7ea88e9bd8c85565333e75e7c48968585a Mon Sep 17 00:00:00 2001 From: ColdPaleLight <31977171+ColdPaleLight@users.noreply.github.com> Date: Wed, 25 Aug 2021 02:24:03 +0800 Subject: [PATCH] Correct the return value of the method RunInIsolateScope (flutter/engine#28161) --- engine/src/flutter/testing/dart_isolate_runner.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/testing/dart_isolate_runner.cc b/engine/src/flutter/testing/dart_isolate_runner.cc index 84f9bd3008..cfe0aa1a9c 100644 --- a/engine/src/flutter/testing/dart_isolate_runner.cc +++ b/engine/src/flutter/testing/dart_isolate_runner.cc @@ -59,7 +59,7 @@ void AutoIsolateShutdown::Shutdown() { latch.Signal(); }); latch.Wait(); - return true; + return result; } std::unique_ptr RunDartCodeInIsolateOnUITaskRunner(