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

Unified Diff: src/shared/platform/win/nacl_exit.c

Issue 6825057: Remove printfs in exit path (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 9 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/platform/win/nacl_exit.c
===================================================================
--- src/shared/platform/win/nacl_exit.c (revision 4822)
+++ src/shared/platform/win/nacl_exit.c (working copy)
@@ -23,10 +23,8 @@
#else
/* If the process is scheduled for termination, wait for it.*/
if (TerminateProcess(GetCurrentProcess(), err_code)) {
- printf("Terminate passed, but returned.\n");
while(1);
}
- printf("Terminate failed with %d.\n", GetLastError());
/* Otherwise use the standard C process exit to bybass destructors. */
ExitProcess(err_code);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698