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

Unified Diff: runtime/bin/run_vm_tests.cc

Issue 1416063005: Hack around TLS destructors firing after the process exits (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 | « runtime/bin/platform_win.cc ('k') | runtime/vm/os_thread_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/run_vm_tests.cc
diff --git a/runtime/bin/run_vm_tests.cc b/runtime/bin/run_vm_tests.cc
index 8447a04c8307976d91724f7dc2bf8ee6473e3ef0..54c540fe6a3d1687d306d9da028526e400efbb11 100644
--- a/runtime/bin/run_vm_tests.cc
+++ b/runtime/bin/run_vm_tests.cc
@@ -5,10 +5,11 @@
#include <stdio.h>
#include "bin/file.h"
+#include "bin/dartutils.h"
+#include "bin/platform.h"
#include "vm/benchmark_test.h"
#include "vm/dart.h"
-#include "bin/dartutils.h"
#include "vm/unit_test.h"
@@ -133,5 +134,5 @@ static int Main(int argc, const char** argv) {
int main(int argc, const char** argv) {
- return dart::Main(argc, argv);
+ dart::bin::Platform::Exit(dart::Main(argc, argv));
}
« no previous file with comments | « runtime/bin/platform_win.cc ('k') | runtime/vm/os_thread_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698