http://bugs.winehq.org/show_bug.cgi?id=10213
--- Comment #34 from Lei Zhang thestig@google.com 2008-05-30 15:29:58 --- 29b5c987d53baced430abc6cabdd55115107d688 is first bad commit commit 29b5c987d53baced430abc6cabdd55115107d688 Author: Francois Gouget fgouget@codeweavers.com Date: Fri Feb 24 15:34:09 2006 +0100
user32: Handle WM_ENDSESSION in DefWinProc(). DefWinProc() should call PostQuitMessage() on WM_ENDSESSION if the shutdown is proceeding.