diff options
author | Lloyd Sheng <i@lloydsheng.com> | 2018-07-18 14:29:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-18 14:29:06 +0800 |
commit | 284dd23ca4bf90d6f51bff5204844de7dafdf6b2 (patch) | |
tree | eae3ca176694eb8834ea36f3f33e8a2bedc41b93 /platform/ios/src/MGLMapView.mm | |
parent | bffc60fefda049c8cde0843988c2b73ab87b6103 (diff) | |
download | qtlocation-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.mm | 1 |
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) { |