Skip to content

Commit f4befce

Browse files
committed
Merge branch 'master' of github.com:onevcat/Kingfisher
2 parents 5de2a90 + af2a51d commit f4befce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Networking/ImageDownloader.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public final class DownloadTask: @unchecked Sendable {
8282
/// When you call ``DownloadTask/cancel()``, this ``SessionDataTask`` and its cancellation token will be passed
8383
/// along. You can use them to identify the cancelled task.
8484
public private(set) var sessionTask: SessionDataTask? {
85-
get { propertyQueue.sync { _sessionTask! } }
85+
get { propertyQueue.sync { _sessionTask } }
8686
set { propertyQueue.sync { _sessionTask = newValue } }
8787
}
8888

0 commit comments

Comments
 (0)