-
Notifications
You must be signed in to change notification settings - Fork 661
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
在使用Instruments中Allocations监测 app 内存使用情况时,遇到使用 deserialize 将json 转模型的地方会退出 #376
Comments
swift 5.0 项目工程,正常使用和调试 app 没有任何问题,但只要通过Allocations跑起来 app,就会退出 |
讲真我真不知道怎么说,我是准备换了。 |
你也是这种情况? 我用了周末2天时间 把工程里所有的地方都换了 累出屁了 今天还得做全面的测试 |
客户一台机器XS Max 13.4.1 有泛型解析的地方会蹦。 |
我现在是全换成 JSONDecoder 和 JSONEncoder 了 |
这个问题我已经记下了,会想办法修的,别着急
…On Tue, May 26, 2020 at 10:03 fuhailong ***@***.***> wrote:
讲真我真不知道怎么说,我是准备换了。
你也是这种情况? 我用了周末2天时间 把工程里所有的地方都换了 累出屁了 今天还得做全面的测试
客户一台机器XS Max 13.4.1 有泛型解析的地方会蹦。
我这边同样的测试机不会蹦,但是拿Instruments就会崩溃。
反正这个库用起来确实不错,性能也好。我还是希望快快修复。。。
我现在是全换成 JSONDecoder 和 JSONEncoder 了
换完之后 Instruments 也没问题了
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#376 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACOL2QI2GKEYJ3IQ4RO6LDDRTMPPHANCNFSM4NGQNHJA>
.
|
赞 |
在 |
我在Instruments中Allocations监测 app 内存使用时,发现只要调用 deserialize 方法,Allocations在启动后,就会退出,无法运行
我把其它代码都注释掉后,就能正常运行,然后再取消注释任意一个 deserialize 方法,Allocations在启动后,就又会退出,无法运行
请问这是啥什么呢?
有没有遇到相同问题的同学,有人使用在使用Allocations遇到问题了么?
The text was updated successfully, but these errors were encountered: