diff options
author | Jesse Bounds <jesse@rebounds.net> | 2017-05-30 10:51:07 -0700 |
---|---|---|
committer | Jesse Bounds <jesse@rebounds.net> | 2017-05-30 13:38:08 -0700 |
commit | 7b85bcccae5c7b8f3b82135362e16a799413fcc5 (patch) | |
tree | 0a82928a4346e541f88f87919751670b25e23135 /platform/ios | |
parent | fc495dec12a5136f7476aa9d5cb8d76c95024919 (diff) | |
download | qtlocation-mapboxgl-7b85bcccae5c7b8f3b82135362e16a799413fcc5.tar.gz |
[ios] Remove filter of single metric event
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/src/MGLMapboxEvents.m | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/platform/ios/src/MGLMapboxEvents.m b/platform/ios/src/MGLMapboxEvents.m index 7b28ccf1a8..4f1413d300 100644 --- a/platform/ios/src/MGLMapboxEvents.m +++ b/platform/ios/src/MGLMapboxEvents.m @@ -317,13 +317,6 @@ const NSTimeInterval MGLFlushInterval = 180; return; } - if ([self.eventQueue count] <= 1) { - [self.eventQueue removeAllObjects]; - [[UIApplication sharedApplication] endBackgroundTask:_backgroundTaskIdentifier]; - _backgroundTaskIdentifier = UIBackgroundTaskInvalid; - return; - } - NSArray *events = [NSArray arrayWithArray:self.eventQueue]; [self.eventQueue removeAllObjects]; |