Index: process/launch_win.cc |
diff --git a/process/launch_win.cc b/process/launch_win.cc |
index 9515041b13384ff8da80f88f13d50eec761d880e..09a45364224ac665099983c97e81ad51af540252 100644 |
--- a/process/launch_win.cc |
+++ b/process/launch_win.cc |
@@ -175,6 +175,8 @@ void RouteStdioToConsole(bool create_console_if_not_found) { |
// It should be ERROR_INVALID_HANDLE at this point, which means the |
// browser was likely not started from a console. |
AllocConsole(); |
+ } else { |
+ return; |
} |
} |