ONEAPP-6239 - Loader doesn't cancel 60 second timer on deallocation.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
999a6e272d
commit
521ca10fbf
@ -119,6 +119,10 @@ open class Loader: View {
|
|||||||
loadingTimer?.invalidate()
|
loadingTimer?.invalidate()
|
||||||
loadingTimer = nil
|
loadingTimer = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
deinit {
|
||||||
|
stopAnimating()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension Icon.Name {
|
extension Icon.Name {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user