| Index: runtime/vm/dart.cc
|
| ===================================================================
|
| --- runtime/vm/dart.cc (revision 45833)
|
| +++ runtime/vm/dart.cc (working copy)
|
| @@ -193,7 +193,7 @@
|
| const char* Dart::Cleanup() {
|
| // Shutdown the service isolate before shutting down the thread pool.
|
| ServiceIsolate::Shutdown();
|
| -#if 0
|
| +
|
| // Ideally we should shutdown the VM isolate here, but the thread pool
|
| // shutdown does not seem to ensure that all the threads have stopped
|
| // execution before it terminates, this results in racing isolates.
|
| @@ -218,7 +218,6 @@
|
| vm_isolate_ = NULL;
|
|
|
| TargetCPUFeatures::Cleanup();
|
| -#endif
|
|
|
| Profiler::Shutdown();
|
| CodeObservers::DeleteAll();
|
|
|