Resume iff Metrics is enabled

This commit is contained in:
Minh Nguyễn
2015-05-09 00:17:05 -07:00
parent f860169f35
commit c1fe6e1890

View File

@@ -310,7 +310,7 @@ NSString *const MGLEventGestureRotateStart = @"Rotation";
//
- (void)resumeMetricsCollection {
MGLAssertIsMainThread();
if (!self.isPaused || [[self class] isEnabled]) {
if (!self.isPaused || ![[self class] isEnabled]) {
return;
}
self.paused = NO;