| Index: runtime/bin/main.cc
|
| diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
|
| index 72012bafc59f5cf4bc524f96530a1c9f969b88e2..251108dbe66115c19326922358949372374a833b 100644
|
| --- a/runtime/bin/main.cc
|
| +++ b/runtime/bin/main.cc
|
| @@ -575,6 +575,10 @@ static Dart_Isolate CreateIsolateAndSetupHelper(const char* script_uri,
|
| Builtin::SetNativeResolver(Builtin::kIOLibrary);
|
| }
|
|
|
| + // Set up the library tag handler for this isolate.
|
| + Dart_Handle result = Dart_SetLibraryTagHandler(DartUtils::LibraryTagHandler);
|
| + CHECK_RESULT(result);
|
| +
|
| if (Dart_IsServiceIsolate(isolate)) {
|
| // If this is the service isolate, load embedder specific bits and return.
|
| if (!VmService::Setup(vm_service_server_ip, vm_service_server_port)) {
|
| @@ -588,10 +592,6 @@ static Dart_Isolate CreateIsolateAndSetupHelper(const char* script_uri,
|
|
|
| // Load the specified application script into the newly created isolate.
|
|
|
| - // Set up the library tag handler for this isolate.
|
| - Dart_Handle result = Dart_SetLibraryTagHandler(DartUtils::LibraryTagHandler);
|
| - CHECK_RESULT(result);
|
| -
|
| // Prepare builtin and its dependent libraries for use to resolve URIs.
|
| // The builtin library is part of the core snapshot and would already be
|
| // available here in the case of script snapshot loading.
|
|
|