Skip to content

Commit d0ca57c

Browse files
authored
Merge pull request NativeScript#2315 from NativeScript/raikov/fix-2209
Fixed: CSS-Animation w/ iteration-count:infinite is never reset causing out of memory
2 parents d4a66c3 + a53523c commit d0ca57c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tns-core-modules/ui/core/view.android.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export class View extends viewCommon.View {
9797

9898
public onUnloaded() {
9999
super.onUnloaded();
100+
this._unregisterAllAnimations();
100101
if (this._nativeView && this._nativeView.setOnTouchListener) {
101102
this._nativeView.setOnTouchListener(null);
102103
this.touchListenerIsSet = false;

0 commit comments

Comments
 (0)