mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
kill process if waiting didn't make it exit to avoid a zombie
This commit is contained in:
@@ -445,6 +445,7 @@ process_exec :: proc(
|
|||||||
}
|
}
|
||||||
|
|
||||||
state, err = process_wait(process)
|
state, err = process_wait(process)
|
||||||
|
if !state.exited { _ = process_kill(process) }
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user