From 1c8e7a1feb692159080327a72c4684bc06f735b8 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 29 Mar 2011 21:05:51 +0000 Subject: [PATCH] Quick Updates svn path=/trunk/boinc/; revision=23295 --- clientscr/screensaver.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clientscr/screensaver.cpp b/clientscr/screensaver.cpp index 325a50bedb..78669eb990 100644 --- a/clientscr/screensaver.cpp +++ b/clientscr/screensaver.cpp @@ -534,16 +534,20 @@ void *CScreensaver::DataManagementProc() // Are we supposed to exit the screensaver? if (m_bQuitDataManagementProc) { // If main thread has requested we exit + BOINCTRACE(_T("CScreensaver::DataManagementProc - Thread told to stop\n")); if (m_hGraphicsApplication || graphics_app_result_ptr) { if (m_bDefault_gfx_running) { + BOINCTRACE(_T("CScreensaver::DataManagementProc - Terminating default screensaver\n")); terminate_default_screensaver(m_hGraphicsApplication); } else { + BOINCTRACE(_T("CScreensaver::DataManagementProc - Terminating screensaver\n")); terminate_screensaver(m_hGraphicsApplication, graphics_app_result_ptr); } graphics_app_result_ptr = NULL; previous_result_ptr = NULL; m_hGraphicsApplication = 0; } + BOINCTRACE(_T("CScreensaver::DataManagementProc - Stopping...\n")); m_bDataManagementProcStopped = true; // Tell main thread that we exited return 0; // Exit the thread }