Files
wled-screen-controller-mixed/server/src
alexei.dolgolyov 17bb4110ec
Some checks failed
Validate / validate (push) Failing after 9s
Fix WGC cleanup - capture start_free_threaded() return value
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>
2026-02-09 18:43:23 +03:00
..