mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Fix fetch
This commit is contained in:
parent
b53a0a5fa4
commit
7b5a45f326
@ -787,6 +787,9 @@ private final class MultipartFetchManager {
|
||||
case .revalidateMediaReference:
|
||||
if !strongSelf.revalidatingMediaReference && !strongSelf.revalidatedMediaReference {
|
||||
strongSelf.revalidatingMediaReference = true
|
||||
for (_, part) in strongSelf.fetchingParts {
|
||||
part.1.dispose()
|
||||
}
|
||||
strongSelf.fetchingParts.removeAll()
|
||||
|
||||
if let info = strongSelf.parameters?.info as? TelegramCloudMediaResourceFetchInfo, let revalidationContext = strongSelf.revalidationContext {
|
||||
|
Loading…
x
Reference in New Issue
Block a user