From 08f1d4b511ee8193735629214faeabf634617731 Mon Sep 17 00:00:00 2001 From: Brad Leege Date: Fri, 8 May 2015 15:24:19 -0500 Subject: [PATCH] #1481 - Changing events array to be created with +arrayWithArray --- platform/ios/MGLMapboxEvents.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/ios/MGLMapboxEvents.m b/platform/ios/MGLMapboxEvents.m index f7e50f6f4..3a6559b76 100644 --- a/platform/ios/MGLMapboxEvents.m +++ b/platform/ios/MGLMapboxEvents.m @@ -409,8 +409,8 @@ NSString *const MGLEventGestureRotateStart = @"Rotation"; __block NSArray *events; // Make an immutable copy - events = [_eventQueue copy]; - + events = [NSArray arrayWithArray:_eventQueue]; + // Update Queue to remove events sent to server [_eventQueue removeAllObjects];