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 { struct Request {
var managerId: Int32? var managerId: Int32?
var workItem: DispatchWorkItem? weak var workItem: DispatchWorkItem?
var isCancelled = false var isCancelled = false
let callback: (Result<[String: Int64], any Error>) -> Void let callback: (Result<[String: Int64], any Error>) -> Void
} }