From 0875ca503a0156ddf9f25167d99612f47db8a778 Mon Sep 17 00:00:00 2001 From: Dave Lane <42013603+ReenigneArcher@users.noreply.github.com> Date: Mon, 16 Nov 2026 23:28:13 -0500 Subject: [PATCH] ci(freebsd): prevent Xvfb resets between capture probes (#6119) --- .github/workflows/ci-freebsd.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-freebsd.yml b/.github/workflows/ci-freebsd.yml index 192f694c4..02a760b04 100644 --- a/.github/workflows/ci-freebsd.yml +++ b/.github/workflows/ci-freebsd.yml @@ -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