Signed-off-by: Huw Davies huw@codeweavers.com --- programs/winedbg/winedbg.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/programs/winedbg/winedbg.c b/programs/winedbg/winedbg.c index 0e45186111..8634c0f73f 100644 --- a/programs/winedbg/winedbg.c +++ b/programs/winedbg/winedbg.c @@ -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 );