We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如题,最新的 13.9.3 SDK,发现在 iPhone 7 或者同代手机上,iOS 15 环境中使用 Concurrency,会死锁导致 App 卡死,最后被 watchdog 干掉(不确定如果同样手机升级到 iOS 16 是否还有问题)。
示例代码: Task { ...... await file.upload() }
debug 发现代码卡死在 LCURLRequestSerialization line 306,此方法一直没返回。
发现问题后我 extension LCFile,重写一个 asyncUpload 方法,并且方法签名加入 @mainactor 修饰可以规避这个问题。
具体原因请你们排查,猜测在部分老旧手机上因 CPU 限制,导致可申请队列数很小。
The text was updated successfully, but these errors were encountered:
感谢您的反馈。请问该问题是否只在 iPhone 7 设备上出现?
Sorry, something went wrong.
目前是发现那一代(包含 7 pluse),不确定 8 及以后如何 @zapcannon87
@zapcannon87 请问 Swift SDK 还有计划更新吗?现在 Swift SDK 急需 Status 相关能力,OC SDK 到处都是 lock 和 semaphore 实在是不优雅
No branches or pull requests
如题,最新的 13.9.3 SDK,发现在 iPhone 7 或者同代手机上,iOS 15 环境中使用 Concurrency,会死锁导致 App 卡死,最后被 watchdog 干掉(不确定如果同样手机升级到 iOS 16 是否还有问题)。
示例代码:
Task {
......
await file.upload()
}
debug 发现代码卡死在 LCURLRequestSerialization line 306,此方法一直没返回。
发现问题后我 extension LCFile,重写一个 asyncUpload 方法,并且方法签名加入 @mainactor 修饰可以规避这个问题。
具体原因请你们排查,猜测在部分老旧手机上因 CPU 限制,导致可申请队列数很小。
The text was updated successfully, but these errors were encountered: