mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +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() {
|
||||
super.onUnloaded();
|
||||
this._unregisterAllAnimations();
|
||||
if (this._nativeView && this._nativeView.setOnTouchListener) {
|
||||
this._nativeView.setOnTouchListener(null);
|
||||
this.touchListenerIsSet = false;
|
||||
|
Reference in New Issue
Block a user