Some checks failed
Validate / validate (push) Failing after 9s
The critical bug was not capturing the return value from start_free_threaded(), which returns a CaptureControl object with the proper wait() method. Changes: - Store CaptureControl from start_free_threaded() return value - Use CaptureControl.wait() to block until thread finishes (not timeout) - Remove redundant capture_control storage from frame callback - Cleanup now properly releases GPU resources and yellow border Tested: Yellow border now disappears immediately after capture test ends. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>