-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
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
iOS 10 observer未移除引发的异常崩溃 #447
Comments
@changsanjiang 麻烦看一下吧 多谢了 |
请问有解决了吗 |
报错是一样的吗, 最好能提供一些日志 |
@changsanjiang 报错日子如下 或者你看下开发者2群,我有在群里提问的,这里我无法上传图片 |
@changsanjiang 上面的日志是后台提供的。我xcode控制台打印的如下 [时间]: 2022-04-12 10:00:20 我只要屏蔽了
// self.URLAsset = asset; |
@changsanjiang xcode断点锁定在以下代码中崩溃
} |
嗯 |
问题已解决。我出现这个问题的原因是,因为项目中存在其它的kvo 自动移除的库导致的。希望出现这个问题的大家,可以查看下自己的项目中是否有其它的kvo 自动移除的库 |
必现/偶发?
偶发
描述bug
iOS 10系统中 由于player或playerItem释放时未移除observer引发的Fatal Exception: NSInternalInconsistencyException
(Pod已经升级到最新版本)
你期望的结果是什么?
在iOS 10环境下 在player或playerItem释放时正确移除observer
运行环境
截图
![WechatIMG23](https://user-images.githubusercontent.com/18277413/123590104-c6bea980-d81c-11eb-82eb-2ad9e1347372.png)
![WechatIMG24](https://user-images.githubusercontent.com/18277413/123590125-ccb48a80-d81c-11eb-9849-d2b4870c0c52.png)
如果有必要的话,请上传几张截图
The text was updated successfully, but these errors were encountered: