From df8f3704b07b6d34344c330d3ede9bcc58674185 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 1 Oct 2019 13:10:52 -0700 Subject: [PATCH] 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. --- client/app_control.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/client/app_control.cpp b/client/app_control.cpp index 1b91c3f50b..e46333bcc9 100644 --- a/client/app_control.cpp +++ b/client/app_control.cpp @@ -201,14 +201,6 @@ static void print_descendants(int pid, vectordesc, 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( "",