Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f67f84f

Browse files
committed
use 'child-clean-exit' on POSIX systems only
1 parent 80ecc16 commit f67f84f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/shell_content_browser_client.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,9 @@ void ShellContentBrowserClient::AppendExtraCommandLineSwitches(
144144
// destory rph immediately. Then the channel error msg is caught by
145145
// SuicideOnChannelErrorFilter and the renderer is killed
146146
// immediately
147-
147+
#if defined(OS_POSIX)
148148
command_line->AppendSwitch(switches::kChildCleanExit);
149+
#endif
149150
}
150151

151152
void ShellContentBrowserClient::ResourceDispatcherHostCreated() {

0 commit comments

Comments
 (0)