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

Unified Diff: src/d8.cc

Issue 1886983002: [build] Use MSVS 2015 by default. Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use exit Created 4 years, 7 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 | « gypfiles/vs_toolchain.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index 9466ab7d3a727c2fe12d70ac977df0b0cac57f35..6a599ae80ed0a6ff9180e4d6d7f50b7839885394 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -1259,11 +1259,9 @@ Local<Context> Shell::CreateEvaluationContext(Isolate* isolate) {
void Shell::Exit(int exit_code) {
- // Use _exit instead of exit to avoid races between isolate
- // threads and static destructors.
fflush(stdout);
fflush(stderr);
- _exit(exit_code);
+ exit(exit_code);
}
« no previous file with comments | « gypfiles/vs_toolchain.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698