gh-130519: Fix crash in QSBR when destructor reenters QSBR (gh-130553)
The `free_work_item()` function in QSBR may call arbitrary code via Python object destructors, which may reenter the QSBR code. Reorder the processing of work items to be robust to reentrancy. Also fix the TODO for the out of memory situation.
S
Sam Gross committed
45bc120d4504bff215938bca3f1d08cee2ed7a91
Parent: 5c8e870
Committed by GitHub <noreply@github.com>
on 2/26/2025, 7:55:15 PM