mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Merge pull request #2315 from NativeScript/raikov/fix-2209
Fixed: CSS-Animation w/ iteration-count:infinite is never reset causing out of memory
This commit is contained in:
@ -97,6 +97,7 @@ export class View extends viewCommon.View {
|
|||||||
|
|
||||||
public onUnloaded() {
|
public onUnloaded() {
|
||||||
super.onUnloaded();
|
super.onUnloaded();
|
||||||
|
this._unregisterAllAnimations();
|
||||||
if (this._nativeView && this._nativeView.setOnTouchListener) {
|
if (this._nativeView && this._nativeView.setOnTouchListener) {
|
||||||
this._nativeView.setOnTouchListener(null);
|
this._nativeView.setOnTouchListener(null);
|
||||||
this.touchListenerIsSet = false;
|
this.touchListenerIsSet = false;
|
||||||
|
Reference in New Issue
Block a user