Commit 6147419f authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Joerg Bornemann

ctrlc_stub: Send Ctrl-Break instead of Ctrl-C

This forces also processes initiated using 'start' to terminate

Task-number: QTCREATORBUG-7455
Change-Id: I2ac7b31ebe67510dd17a2991efc30212987e967d
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@nokia.com>
parent a55cdd53
......@@ -120,7 +120,7 @@ int main(int argc, char **)
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
if (message == uiShutDownWindowMessage) {
GenerateConsoleCtrlEvent(CTRL_C_EVENT, 0);
GenerateConsoleCtrlEvent(CTRL_BREAK_EVENT, 0);
PostQuitMessage(0);
return 0;
}
......
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