| Index: runtime/vm/service_isolate.cc
|
| diff --git a/runtime/vm/service_isolate.cc b/runtime/vm/service_isolate.cc
|
| index 6d5f68175545365c4ff9921f9d6756a3193d3604..c73c1769c52403a8631a0b871225179febbedfd8 100644
|
| --- a/runtime/vm/service_isolate.cc
|
| +++ b/runtime/vm/service_isolate.cc
|
| @@ -458,7 +458,9 @@ void ServiceIsolate::Run() {
|
| // Grab the isolate create callback here to avoid race conditions with tests
|
| // that change this after Dart_Initialize returns.
|
| create_callback_ = Isolate::CreateCallback();
|
| - DevFS::Init();
|
| + if (FLAG_support_service) {
|
| + DevFS::Init();
|
| + }
|
| Dart::thread_pool()->Run(new RunServiceTask());
|
| }
|
|
|
| @@ -507,7 +509,9 @@ void ServiceIsolate::Shutdown() {
|
| free(server_address_);
|
| server_address_ = NULL;
|
| }
|
| - DevFS::Cleanup();
|
| + if (FLAG_support_service) {
|
| + DevFS::Cleanup();
|
| + }
|
| }
|
|
|
|
|
|
|