mirror of https://github.com/BOINC/boinc.git
- client: if an exclusive app is running, suspend network
as well as processing svn path=/trunk/boinc/; revision=16552
This commit is contained in:
parent
79ed766ea8
commit
fbd50f4ec4
|
@ -9570,3 +9570,10 @@ David 24 Nov 2008
|
|||
lib/
|
||||
gui_rpc_client.h
|
||||
gui_rpc_client_ops.cpp
|
||||
|
||||
David 24 Nov 2008
|
||||
- client: if an exclusive app is running, suspend network
|
||||
as well as processing
|
||||
|
||||
client/
|
||||
cs_prefs.cpp
|
||||
|
|
|
@ -222,6 +222,9 @@ int CLIENT_STATE::check_suspend_network() {
|
|||
if (global_prefs.net_times.suspended()) {
|
||||
return SUSPEND_REASON_TIME_OF_DAY;
|
||||
}
|
||||
if (active_tasks.exclusive_app_running) {
|
||||
return SUSPEND_REASON_EXCLUSIVE_APP_RUNNING;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue