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

Unified Diff: runtime/bin/process.cc

Issue 1410293006: Use ExitProcess on Windows. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add comment 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 | « runtime/bin/platform_win.cc ('k') | runtime/bin/thread_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/process.cc
diff --git a/runtime/bin/process.cc b/runtime/bin/process.cc
index 47e2ff58c473f86dc73e1c923359c0972662844a..77461987bc0e396f319792e01db074e73b2b09f6 100644
--- a/runtime/bin/process.cc
+++ b/runtime/bin/process.cc
@@ -273,7 +273,7 @@ void FUNCTION_NAME(Process_Exit)(Dart_NativeArguments args) {
#endif
EventHandler::Stop();
}
- exit(static_cast<int>(status));
+ Platform::Exit(static_cast<int>(status));
}
« no previous file with comments | « runtime/bin/platform_win.cc ('k') | runtime/bin/thread_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698