test(xrayeye): keep the ellipse-ROI test items in a module-lifetime QGraphicsScene #336

Merged
holler merged 1 commits from fix/xrayeye-roi-test-gc into main 2026-10-20 15:34:37 +02:00
1 Commits
Author SHA1 Message Date
Mirko HollerandClaude Opus 5.5 14109fc912 test(xrayeye): keep the ellipse-ROI test items in a module-lifetime QGraphicsScene
CI for csaxs_bec / test (push) Successful in 4m21s
CI for csaxs_bec / test (pull_request) Successful in 4m25s
Unparented pyqtgraph ROIs could be garbage-collected while the next ROI was being
built, which crashed PySide6 in CI with --random-order (segfault in
GraphicsObject.itemChange during garbage collection). Test logic unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TNtKEk4jAyjebMDQFwRHJQ
2026-10-20 15:12:51 +02:00