mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-13 23:36:09 +03:00

Fixes #4554 xev.Process.wait is documented as being equivalent to calling `waitpid`, i.e. including reaping the process. On Linux, it does this automatically by using pidfd and the `waitid` syscall. On macOS, it wasn't doing this. This commit updates libxev to include a fix that explicitly calls `waitpid` for kqueue.