Skip to content

Fix reference cycle in hf_raise_for_status delaying object destruction#4084

Closed
yg7445 wants to merge 1 commit into
huggingface:mainfrom
yg7445:fix/hf-raise-for-status-refcycle
Closed

Fix reference cycle in hf_raise_for_status delaying object destruction#4084
yg7445 wants to merge 1 commit into
huggingface:mainfrom
yg7445:fix/hf-raise-for-status-refcycle

Fix reference cycle in hf_raise_for_status causing memory leaks

e49bb83
Select commit
Loading
Failed to load commit list.
Cursor / Cursor Bugbot succeeded Apr 10, 2026 in 3m 56s

Bugbot Review

Bugbot Analysis Progress (4m 4s elapsed)

✅ Gathered PR context (3s)
✅ Completed bug detection (4m 0s)
✅ Posted analysis results (1s)

Final Result: Bugbot completed review - no issues found! ✅

Request ID: serverGenReqId_7e0ca236-ad01-4b6b-90f7-525bec21b5d3

Details