Add a comment

svn path=/trunk/boinc/; revision=13570
This commit is contained in:
Charlie Fenton 2007-09-11 23:21:58 +00:00
parent ca9e5694b2
commit fbb5353a7c
1 changed files with 5 additions and 2 deletions

View File

@ -449,10 +449,13 @@ void closeBOINCSaver() {
} }
if (rpc) { if (rpc) {
#if 0 // OS X quits screensaver when energy saver puts display to #if 0 // OS X calls closeBOINCSaver() when energy saver puts display
// sleep, but we want to keep crunching. So don't kill it. // to sleep, but we want to keep crunching. So don't kill it.
// Code in core client now quits on user activity if screen // Code in core client now quits on user activity if screen
// saver launched it (2/28/07). // saver launched it (2/28/07).
// Also, under sandbox security, screensaver doesn't have access
// to rpc password in gui_rpc_auth.cfg file, so core client won't
// accept rpc->quit from screensaver.
if (CoreClientPID && (!wasAlreadyRunning)) { if (CoreClientPID && (!wasAlreadyRunning)) {
rpc->quit(); // Kill core client if we launched it rpc->quit(); // Kill core client if we launched it
} }