We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78b63e8 commit c0bfea1Copy full SHA for c0bfea1
Sources/ComponentsKit/Components/Avatar/UKAvatar.swift
@@ -21,7 +21,7 @@ open class UKAvatar: UIImageView, UKComponent {
21
return self.model.preferredSize
22
}
23
24
- // MARK: - Initializers
+ // MARK: - Initialization
25
26
/// Initializer.
27
/// - Parameters:
@@ -40,6 +40,13 @@ open class UKAvatar: UIImageView, UKComponent {
40
fatalError("init(coder:) has not been implemented")
41
42
43
+ // MARK: - Deinitialization
44
+
45
+ deinit {
46
+ self.cancellable?.cancel()
47
+ self.cancellable = nil
48
+ }
49
50
// MARK: - Setup
51
52
private func setup() {
0 commit comments