Skip to content

Commit 064ab69

Browse files
author
Isaac
committed
Fix disposable leak
1 parent 4e9d624 commit 064ab69

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

submodules/TelegramCore/Sources/Network/FetchV2.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ private final class FetchImpl {
103103
init(range: Range<Int64>) {
104104
self.range = range
105105
}
106+
107+
deinit {
108+
self.disposable?.dispose()
109+
}
106110
}
107111

108112
private final class HashRangeData {

0 commit comments

Comments
 (0)