See `OnProcessExit` in the code, would be good to document this
See
OnProcessExitin the code, would be good to document this