1
1
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:
Viktor Sukochev 2018-01-12 17:39:02 +07:00
parent 931583e12c
commit d358e17b4a

View File

@ -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?()
}
}