mirror of https://github.com/BOINC/boinc.git
- WINSCR: if we see a WM_QUIT message in the message pump for whatever reason
terminate the screensaver process. clientscr/ screensaver_win.cpp svn path=/branches/boinc_core_release_6_8/; revision=23769
This commit is contained in:
parent
d21be978f8
commit
f8d93187a4
|
@ -6765,3 +6765,10 @@ Charlie 6 Jun 2011
|
|||
mac_saver_module.cpp
|
||||
clientgui/
|
||||
BOINCGUIApp.cpp
|
||||
|
||||
Rom 22 Jun 2011
|
||||
- WINSCR: if we see a WM_QUIT message in the message pump for whatever reason
|
||||
terminate the screensaver process.
|
||||
|
||||
clientscr/
|
||||
screensaver_win.cpp
|
||||
|
|
|
@ -1412,6 +1412,15 @@ LRESULT CScreensaver::SaverProc(
|
|||
if (wParam == PBT_APMQUERYSUSPEND && gspfnMyVerifyPwdProc == NULL)
|
||||
InterruptSaver();
|
||||
break;
|
||||
|
||||
case WM_QUIT:
|
||||
BOINCTRACE(_T("CScreensaver::SaverProc Received WM_QUIT\n"));
|
||||
#ifdef _DEBUG
|
||||
DebugBreak();
|
||||
#else
|
||||
TerminateProcess(GetCurrentProcess(), 0);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
if (WM_SETTIMER == uMsg) {
|
||||
|
|
Loading…
Reference in New Issue