| Index: runtime/bin/main.cc
|
| diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
|
| index 62fea29882eeaf1c6978a1cf3c167b6c9278b376..d1eea463fd4bf29fa597a42adad80a96f8dac818 100644
|
| --- a/runtime/bin/main.cc
|
| +++ b/runtime/bin/main.cc
|
| @@ -941,6 +941,7 @@ void main(int argc, char** argv) {
|
| // Start event handler.
|
| EventHandler::Start();
|
|
|
| + ASSERT(Dart_CurrentIsolate() == NULL);
|
| // Start the VM service isolate, if necessary.
|
| if (start_vm_service) {
|
| ASSERT(vm_service_server_port >= 0);
|
| @@ -952,6 +953,7 @@ void main(int argc, char** argv) {
|
| Dart_RegisterIsolateServiceRequestCallback(
|
| "io", &ServiceRequestHandler, NULL);
|
| }
|
| + ASSERT(Dart_CurrentIsolate() == NULL);
|
|
|
| // Call CreateIsolateAndSetup which creates an isolate and loads up
|
| // the specified application script.
|
|
|