包含范型类型的对象写入时 crash
类的继承关系为 EndViewController : AbastractViewController<V: ViewModel> : PropertyViewController : BasicViewController: BaseViewController
之前使用 PropertyViewController 时写值时正常, 后来增加了 AbastractViewController<V> 一层后, 会偶尔写入时 crash, 崩在 AnyExtensions 中的 storage.assumingMemoryBound(to: self).pointee = this 这一行
demo: https://github.com/thisfin/StandardDemo 页面进入返回多点几次就能出现
有同样的问题,在 iOS 13.4 上出现
我也有同样的问题, 请问你们解决了吗
你们都是用了范型么
你们都是用了范型么
是的,已经用 5.0.2-beta 解决了
类的继承关系为 EndViewController : AbastractViewController<V: ViewModel> : PropertyViewController : BasicViewController: BaseViewController
之前使用 PropertyViewController 时写值时正常, 后来增加了 AbastractViewController 一层后, 会偶尔写入时 crash, 崩在 AnyExtensions 中的 storage.assumingMemoryBound(to: self).pointee = this 这一行
demo: https://github.com/thisfin/StandardDemo 页面进入返回多点几次就能出现
你这个Demo 用5.0.2-beta还是crash 啊
me too, someone help?
me too, someone help?
更新到5.0.3beta 解决. Update to 5.0.3 Beta resolved.