From a53523cbc3b833886a40d03caefbb74f0135c0d1 Mon Sep 17 00:00:00 2001 From: Tsvetan Raikov Date: Wed, 15 Jun 2016 10:32:37 +0300 Subject: [PATCH] Fixed: CSS-Animation w/ iteration-count:infinite is never reset causing OutOfMemory error --- tns-core-modules/ui/core/view.android.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tns-core-modules/ui/core/view.android.ts b/tns-core-modules/ui/core/view.android.ts index 1c1f7982a..6024368da 100644 --- a/tns-core-modules/ui/core/view.android.ts +++ b/tns-core-modules/ui/core/view.android.ts @@ -127,6 +127,7 @@ export class View extends viewCommon.View { public onUnloaded() { super.onUnloaded(); + this._unregisterAllAnimations(); if (this._nativeView && this._nativeView.setOnTouchListener) { this._nativeView.setOnTouchListener(null); this.touchListenerIsSet = false;