Authored by 戴强

Merge branch 'debug' into 'develop'

修复上报的bug



See merge request !4
... ... @@ -223,7 +223,7 @@ static NSArray *kYHEventReportIgnoredViewControllerArray;
WS(weakSelf);
dispatch_async(dispatch_get_global_queue(0, 0), ^{
for (NSDictionary *param in parametersArray) {
if (IsDictionaryClass(param)) {
if (!IsDictionaryClass(param)) {
return;
}
[[YH_EventCacheManager sharedInstance] pushCrashData:param];
... ... @@ -344,6 +344,13 @@ static NSArray *kYHEventReportIgnoredViewControllerArray;
return self.currentChannelId;
}
-(YH_CrashDataManager *)crashDataMgr{
if (!_crashDataMgr) {
_crashDataMgr = [[YH_CrashDataManager alloc] init];
}
return _crashDataMgr;
}
#pragma mark - Logout notification
- (void)userLogout:(NSNotification *)notify
{
... ...