From dc5714d32ba0f29dd79231a23a91a4720126ac1f Mon Sep 17 00:00:00 2001 From: Ryan Macnak Date: Fri, 15 Dec 2017 16:11:09 -0800 Subject: [PATCH] Fix spawnFunction on iOS in debug mode. (flutter/engine#4467) Issue flutter/flutter#12939 --- engine/src/flutter/shell/common/engine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/common/engine.cc b/engine/src/flutter/shell/common/engine.cc index 44b7e22cc2..4c32614c90 100644 --- a/engine/src/flutter/shell/common/engine.cc +++ b/engine/src/flutter/shell/common/engine.cc @@ -363,7 +363,7 @@ void Engine::RunBundleAndSource(const std::string& bundle_path, if (!bundle_path.empty()) ConfigureAssetBundle(bundle_path); - ConfigureRuntime(GetScriptUriFromPath(bundle_path), reuse_runtime_controller); + ConfigureRuntime(main, reuse_runtime_controller); if (blink::GetKernelPlatformBinary() != nullptr) { std::vector kernel;