mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 05:18:39 +08:00
Merge pull request #705 from NativeScript/gestures-fix
gestures disconnect fixed
This commit is contained in:
@ -134,7 +134,9 @@ export class GesturesObserver implements definition.GesturesObserver {
|
||||
}
|
||||
}
|
||||
list.length = 0;
|
||||
this.target._gestureObservers.delete(this.type);
|
||||
|
||||
this.target._gestureObservers[this.type] = undefined;
|
||||
delete this.target._gestureObservers[this.type];
|
||||
}
|
||||
}
|
||||
this._target = null;
|
||||
|
Reference in New Issue
Block a user