提交 cd333e66 编写于 作者: R Ryan Macnak 提交者: GitHub

Mark libraries as loaded before creating the script snapshot. (#3023)

Fixes #5814.
上级 12fc1385
......@@ -213,6 +213,8 @@ int CreateSnapshot(const ftl::CommandLine& command_line) {
std::cout << file << "\n";
}
} else {
DART_CHECK_VALID(Dart_FinalizeLoading(false));
// The script has been loaded, generate a snapshot.
std::vector<char> snapshot_blob = CreateSnapshot();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册