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

Unified Diff: src/d8-windows.cc

Issue 2529363002: Revert "[d8] cleanly force exit in d8 on windows." (Closed)
Patch Set: Created 4 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 | « src/d8-posix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8-windows.cc
diff --git a/src/d8-windows.cc b/src/d8-windows.cc
index e7ddca694fcf4c9b345b9b006f2377f1854b6987..ba89c4156fdf0daf8165c93bc78d97ebab9cc733 100644
--- a/src/d8-windows.cc
+++ b/src/d8-windows.cc
@@ -10,12 +10,5 @@ namespace v8 {
void Shell::AddOSMethods(Isolate* isolate, Local<ObjectTemplate> os_templ) {}
-void Shell::Exit(int exit_code) {
- // Use TerminateProcess avoid races between isolate threads and
- // static destructors.
- fflush(stdout);
- fflush(stderr);
- TerminateProcess(GetCurrentProcess(), exit_code);
-}
} // namespace v8
« no previous file with comments | « src/d8-posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698