From fbd50f4ec418fc9a676274aa68d481a8381fae98 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 24 Nov 2008 21:27:43 +0000 Subject: [PATCH] - client: if an exclusive app is running, suspend network as well as processing svn path=/trunk/boinc/; revision=16552 --- checkin_notes | 7 +++++++ client/cs_prefs.cpp | 3 +++ 2 files changed, 10 insertions(+) diff --git a/checkin_notes b/checkin_notes index 8ce46fff0c..e01104b14c 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/cs_prefs.cpp b/client/cs_prefs.cpp index 1fe81f15d0..6b2778a602 100644 --- a/client/cs_prefs.cpp +++ b/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; }