Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Unified Diff: runtime/vm/dart.cc

Issue 1397883007: Don't cleanup thread list mutex until VM shutdown is clean (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart.cc
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
index d5687a345cff1a024073a40bd846a3c8ccff63cf..8ed714a528670681eed629a84b797fc45a08cf6b 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -256,6 +256,8 @@ const char* Dart::Cleanup() {
TargetCPUFeatures::Cleanup();
StoreBuffer::ShutDown();
+
+ Thread::Shutdown();
} else {
// Shutdown the service isolate.
ServiceIsolate::Shutdown();
@@ -265,8 +267,6 @@ const char* Dart::Cleanup() {
Timeline::Shutdown();
Metric::Cleanup();
- Thread::Shutdown();
-
return NULL;
}
« no previous file with comments | « no previous file | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698