From 74deaabe33226249275c9ab66f09513b7cd6e7a8 Mon Sep 17 00:00:00 2001 From: Scott Stone Date: Sun, 27 Nov 2011 14:46:34 +0000 Subject: [PATCH] This change makes sure that the watchdog message will be displayed in case other messages are also waiting to be displayed. Useful in regression testing where such messages were not being displayed in some cases. (nw) --- src/osd/windows/winmain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osd/windows/winmain.c b/src/osd/windows/winmain.c index e0d96913061..b8716f6d32a 100644 --- a/src/osd/windows/winmain.c +++ b/src/osd/windows/winmain.c @@ -1032,6 +1032,7 @@ static DWORD WINAPI watchdog_thread_entry(LPVOID lpParameter) if (wait_result == WAIT_TIMEOUT) { fprintf(stderr, "Terminating due to watchdog timeout\n"); + fflush(stderr); TerminateProcess(GetCurrentProcess(), -1); } }