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

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Huw Davies 2018-10-08 13:57:52 +01:00 committed by Alexandre Julliard
parent 94c19040a1
commit 8908bdbb73
1 changed files with 1 additions and 0 deletions

View File

@ -652,6 +652,7 @@ static void restart_if_wow64(void)
if (CreateProcessW( filename, GetCommandLineW(), NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi ))
{
WINE_TRACE( "restarting %s\n", wine_dbgstr_w(filename) );
SetConsoleCtrlHandler( NULL, TRUE ); /* Ignore ^C */
WaitForSingleObject( pi.hProcess, INFINITE );
GetExitCodeProcess( pi.hProcess, &exit_code );
ExitProcess( exit_code );