mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-04 12:07:45 +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)
|
||||
if !state.exited { _ = process_kill(process) }
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user