mirror of https://github.com/BOINC/boinc.git
client: fix bug that caused jobs to run after client exit.
Take out #2871. That change was based on the incorrect assumption that a suspended process doesn't handle quit messages.
This commit is contained in:
parent
0bb7eb4668
commit
df8f3704b0
|
@ -201,14 +201,6 @@ static void print_descendants(int pid, vector<int>desc, const char* where) {
|
|||
// Send a quit message, start timer, get descendants
|
||||
//
|
||||
int ACTIVE_TASK::request_exit() {
|
||||
// unsuspend the process.
|
||||
// If it's suspended, the timer thread is suspended and
|
||||
// won't process the quit message
|
||||
//
|
||||
if (task_state() == PROCESS_SUSPENDED) {
|
||||
unsuspend();
|
||||
}
|
||||
|
||||
if (app_client_shm.shm) {
|
||||
process_control_queue.msg_queue_send(
|
||||
"<quit/>",
|
||||
|
|
Loading…
Reference in New Issue