Skip to content

Commit

Permalink
Merge branch 'master' of github.com:onevcat/Kingfisher
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Dec 20, 2024
2 parents 5de2a90 + af2a51d commit f4befce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Networking/ImageDownloader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public final class DownloadTask: @unchecked Sendable {
/// When you call ``DownloadTask/cancel()``, this ``SessionDataTask`` and its cancellation token will be passed
/// along. You can use them to identify the cancelled task.
public private(set) var sessionTask: SessionDataTask? {
get { propertyQueue.sync { _sessionTask! } }
get { propertyQueue.sync { _sessionTask } }
set { propertyQueue.sync { _sessionTask = newValue } }
}

Expand Down

0 comments on commit f4befce

Please sign in to comment.