We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e674991 + 8923ba6 commit af2a51dCopy full SHA for af2a51d
Sources/Networking/ImageDownloader.swift
@@ -82,7 +82,7 @@ public final class DownloadTask: @unchecked Sendable {
82
/// When you call ``DownloadTask/cancel()``, this ``SessionDataTask`` and its cancellation token will be passed
83
/// along. You can use them to identify the cancelled task.
84
public private(set) var sessionTask: SessionDataTask? {
85
- get { propertyQueue.sync { _sessionTask! } }
+ get { propertyQueue.sync { _sessionTask } }
86
set { propertyQueue.sync { _sessionTask = newValue } }
87
}
88
0 commit comments