Commit 870e12b0 authored by zhangshuai's avatar zhangshuai

增加超时机制

parent a60910bf
......@@ -765,6 +765,12 @@ static IOSADManager * manager = nil;
// 广告超时
- (void)overtimeWith:(GYAdsTrackModel *)model{
if (model.loadADType == ADType_Video) {
[self.loadADDataArray removeAllObjects];
[self.cachevideo removeAllObjects];
[self.videoModels removeAllObjects];
[self requestVideoAD];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment