diff --git a/client/app_control.cpp b/client/app_control.cpp index 7694aa115c..3deac10f52 100644 --- a/client/app_control.cpp +++ b/client/app_control.cpp @@ -194,6 +194,14 @@ 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( "",