fix ref cycle

This commit is contained in:
mertalev 2025-08-11 11:48:50 -04:00
parent 2c5fc4e953
commit 0f772ea875
No known key found for this signature in database
GPG Key ID: DF6ABC77AAD98C95

View File

@ -5,7 +5,7 @@ import Photos
struct Request {
var managerId: Int32?
var workItem: DispatchWorkItem?
weak var workItem: DispatchWorkItem?
var isCancelled = false
let callback: (Result<[String: Int64], any Error>) -> Void
}