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:
David Anderson 2019-10-01 13:10:52 -07:00
parent 0bb7eb4668
commit df8f3704b0
1 changed files with 0 additions and 8 deletions

View File

@ -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/>",