ci(freebsd): prevent Xvfb resets between capture probes (#6119)

This commit is contained in:
Dave Lane authored and GitHub committed 2026-11-16 23:28:13 -05:00
1 parent 7cf6fbdfbb
commit 0875ca503a
1 file changed
+2 -1
+2 -1
View File
@@ -217,7 +217,8 @@ jobs:
cd "${GITHUB_WORKSPACE}/build/tests"
export DISPLAY=:1
Xvfb ${DISPLAY} -screen 0 1024x768x24 &
# Do not reset the server when enumeration closes the last X11 connection.
Xvfb ${DISPLAY} -screen 0 1024x768x24 -noreset &
XVFB_PID=$!
trap 'kill "${XVFB_PID}" 2>/dev/null || true; wait "${XVFB_PID}" 2>/dev/null || true' EXIT