Skip to content

fix(pc): 修正瀏覽器影像資源回收時序 - #109

Merged
js051 merged 1 commit into
mainfrom
fix/desktop-object-url-lifecycle
Aug 4, 2026
Merged

fix(pc): 修正瀏覽器影像資源回收時序#109
js051 merged 1 commit into
mainfrom
fix/desktop-object-url-lifecycle

Conversation

@js051

@js051 js051 commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • 統一延後回收 Live View、媒體縮圖、預覽與下載的 blob URL
  • 清理媒體縮圖時先解除 DOM 圖片引用,避免 Chromium ERR_FILE_NOT_FOUND
  • Browser E2E 攔截仍被 DOM 引用的 object URL 回收行為

Verification

  • python -m pytest -q (bridge)
  • python -m ruff check . (bridge)
  • npm run test:modules
  • npm run test:browser x3
  • staged/pre-push Gitleaks

@js051
js051 merged commit d1410f3 into main Aug 4, 2026
9 checks passed
@js051
js051 deleted the fix/desktop-object-url-lifecycle branch August 4, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant