Fix an issue where trying to wake up a zombie would do exactly what that sounds like it would do
This commit is contained in:
parent
1156fe1f09
commit
e1cc8a936b
@ -515,7 +515,7 @@ void task_exit(int retval) {
|
||||
|
||||
process_t * parent = process_get_parent((process_t *)current_process);
|
||||
|
||||
if (parent) {
|
||||
if (parent && !parent->finished) {
|
||||
wakeup_queue(parent->wait_queue);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user