mirror of
https://github.com/exyte/Macaw.git
synced 2024-11-13 05:07:24 +03:00
Combine animation leak fix
This commit is contained in:
parent
931583e12c
commit
d358e17b4a
@ -243,8 +243,8 @@ class AnimationProducer {
|
||||
|
||||
}
|
||||
|
||||
combine.removeFunc = {
|
||||
combine.animations.forEach { animation in
|
||||
combine.removeFunc = { [weak combine] in
|
||||
combine?.animations.forEach { animation in
|
||||
animation.removeFunc?()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user