summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView.mm
diff options
context:
space:
mode:
authorLloyd Sheng <i@lloydsheng.com>2018-07-18 14:29:06 +0800
committerGitHub <noreply@github.com>2018-07-18 14:29:06 +0800
commit284dd23ca4bf90d6f51bff5204844de7dafdf6b2 (patch)
treeeae3ca176694eb8834ea36f3f33e8a2bedc41b93 /platform/ios/src/MGLMapView.mm
parentbffc60fefda049c8cde0843988c2b73ab87b6103 (diff)
downloadqtlocation-mapboxgl-284dd23ca4bf90d6f51bff5204844de7dafdf6b2.tar.gz
[iOS] Fix unbalanced change delimiter crash (#12148)
Fixed a crash that occurred when the user started a gesture before the drift animation for a previous gesture was complete.
Diffstat (limited to 'platform/ios/src/MGLMapView.mm')
-rw-r--r--platform/ios/src/MGLMapView.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm
index 14f6960f26..e4906e3688 100644
--- a/platform/ios/src/MGLMapView.mm
+++ b/platform/ios/src/MGLMapView.mm
@@ -1264,7 +1264,6 @@ public:
- (void)touchesBegan:(__unused NSSet<UITouch *> *)touches withEvent:(__unused UIEvent *)event
{
- _changeDelimiterSuppressionDepth = 0;
_mbglMap->setGestureInProgress(false);
if (self.userTrackingState == MGLUserTrackingStateBegan)
{