Skip to content

Conversation

@onevcat
Copy link
Owner

@onevcat onevcat commented Dec 18, 2025

This PR:

  • Fixes a potential double-endBackgroundTask race in ImageCache.backgroundCleanExpiredDiskCache() by introducing a local actor with an atomic takeValidValueAndInvalidate().
  • Removes remaining ActorBox usages in tests (replaced with LockIsolated / XCTest expectations).
  • Deletes the now-unused ActorBox type from Sources/Utility/Box.swift.

@onevcat onevcat merged commit 7653d10 into master Dec 18, 2025
28 of 32 checks passed
@onevcat onevcat deleted the fix/background-task-actorbox-cleanup branch December 18, 2025 04:44
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.

2 participants