Commit 8908bdbb authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

winedbg: Ignore ^C events in the parent 32-bit process.

parent 94c19040
...@@ -652,6 +652,7 @@ static void restart_if_wow64(void) ...@@ -652,6 +652,7 @@ static void restart_if_wow64(void)
if (CreateProcessW( filename, GetCommandLineW(), NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi )) if (CreateProcessW( filename, GetCommandLineW(), NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi ))
{ {
WINE_TRACE( "restarting %s\n", wine_dbgstr_w(filename) ); WINE_TRACE( "restarting %s\n", wine_dbgstr_w(filename) );
SetConsoleCtrlHandler( NULL, TRUE ); /* Ignore ^C */
WaitForSingleObject( pi.hProcess, INFINITE ); WaitForSingleObject( pi.hProcess, INFINITE );
GetExitCodeProcess( pi.hProcess, &exit_code ); GetExitCodeProcess( pi.hProcess, &exit_code );
ExitProcess( exit_code ); ExitProcess( exit_code );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment