- client: fix bug where network suspend got ignored when

OS suspends (e.g. sleep or hibernate)

svn path=/trunk/boinc/; revision=24390
This commit is contained in:
David Anderson 2011-10-13 18:36:33 +00:00
parent bfea72054e
commit 7c471bf1b3
2 changed files with 8 additions and 0 deletions

View File

@ -7175,3 +7175,10 @@ Rom 13 Oct 2011
clientscr/ clientscr/
screensaver_win.cpp screensaver_win.cpp
David 13 Oct 2011
- client: fix bug where network suspend got ignored when
OS suspends (e.g. sleep or hibernate)
client/
cs_prefs.cpp

View File

@ -231,6 +231,7 @@ void CLIENT_STATE::check_suspend_network() {
if (os_requested_suspend) { if (os_requested_suspend) {
network_suspend_reason = SUSPEND_REASON_OS; network_suspend_reason = SUSPEND_REASON_OS;
network_suspended = true;
return; return;
} }