Skip to content

Commit c4b0541

Browse files
authored
Refactor FXIOS-12796 [Swift 6 Migration] Mark HTTPDownload unchecked Sendable (#30459)
Mark HTTPDownload unchecked Sendable.
1 parent 0e7606d commit c4b0541

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

firefox-ios/Client/Frontend/Browser/DownloadHelper/Download.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ class Download: NSObject {
8383
}
8484
}
8585

86-
class HTTPDownload: Download, URLSessionTaskDelegate, URLSessionDownloadDelegate {
86+
// FIXME: FXIOS-14051 Class is not thread safe and Sendable
87+
class HTTPDownload: Download, URLSessionTaskDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
8788
let preflightResponse: URLResponse
8889
let request: URLRequest
8990

0 commit comments

Comments
 (0)