Merge branch 'feature/ble-config-notification' of https://dev.nextreal.cn/yuqucheng/killapp into feature/ble-config-notification
This commit is contained in:
commit
ff3ae505df
@ -22,8 +22,9 @@ static BOOL ffmpegKitConfigured = NO;
|
||||
static void FFmpegKitConfigureOnce(void) {
|
||||
if (ffmpegKitConfigured) return;
|
||||
ffmpegKitConfigured = YES;
|
||||
[FFmpegKitConfig ignoreSignal:SIGXCPU];
|
||||
[FFmpegKitConfig ignoreSignal:SIGPIPE];
|
||||
// 强转成 ffmpeg-kit 的 Signal 枚举(数值与 <signal.h> 系统信号常量一致)
|
||||
[FFmpegKitConfig ignoreSignal:(Signal)SIGXCPU];
|
||||
[FFmpegKitConfig ignoreSignal:(Signal)SIGPIPE];
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
|
||||
@ -170,8 +170,6 @@ namespace Kill.UI.Pages
|
||||
{
|
||||
foreach (var item in data.data.records)
|
||||
{
|
||||
Debug.Log(totalCount);
|
||||
|
||||
KillData kd = new KillData()
|
||||
{
|
||||
time = item.time,
|
||||
@ -179,12 +177,10 @@ namespace Kill.UI.Pages
|
||||
dis=item.distance
|
||||
};
|
||||
CreateKillItem(kd);
|
||||
Debug.Log(totalCount);
|
||||
totalCount++;
|
||||
|
||||
|
||||
}
|
||||
Debug.Log(totalCount);
|
||||
if(totalCount>=data.data.total)
|
||||
{
|
||||
hasMoreData = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user