Index: runtime/vm/service.cc |
=================================================================== |
--- runtime/vm/service.cc (revision 38470) |
+++ runtime/vm/service.cc (working copy) |
@@ -442,8 +442,10 @@ |
const Error& error = Error::Handle(isolate, |
Compiler::Compile(library, script)); |
ASSERT(error.IsNull()); |
+ Dart_Handle result = Dart_FinalizeLoading(false); |
+ ASSERT(!Dart_IsError(result)); |
Dart_ExitScope(); |
- library.SetLoaded(); |
+ |
// Install embedder default library tag handler again. |
isolate->set_library_tag_handler(embedder_provided_handler_); |
embedder_provided_handler_ = NULL; |