Unverified Commit 8bf5a1c0 authored by Marcin S.'s avatar Marcin S. Committed by GitHub
Browse files

PVF: ensure job processes are cleaned up, add tests (#2643)

Fixes a potential memory leak.

`PR_SET_PDEATHSIG` is used to terminate children when the parent dies.
Note that this is subject to a race. There seems to be a raceless
alternative [here](https://stackoverflow.com/a/42498370/6085242), but
the concern is small enough that a bit more complexity doesn't seem
worth it. Left a bit more info in the code comment.
parent 45f4d9a2
Pipeline #430203 failed with stages
in 1 hour, 24 minutes, and 3 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment