@@ -202,7 +202,10 @@ static BGDB* BGdb = nil;
if(block){
block();
}
- [self.mulThreadPool removeObjectAtIndex:0];//移除任务
+
+ if(self.mulThreadPool.count>0){//hxd add 20240305 推测线程没保护好
+ [self.mulThreadPool removeObjectAtIndex:0];//移除任务
+ }
}while(self.mulThreadPool.count>0);
_threadPoolFlag = NO;