waynezxcv / Gallop

A framework for build smooth asynchronous iOS APP.
MIT License
746 stars 161 forks source link

Main Thread Checker: UI API called on a background thread: -[UIView bounds] #70

Open XDChang opened 6 years ago

XDChang commented 6 years ago

Main Thread Checker: UI API called on a background thread: -[UIView bounds] PID: 5830, TID: 158477, Thread name: (none), Queue name: com.Gallop.LWAsyncDisplayLayer.displayQueue, QoS: 25 Backtrace:

beibeiaiwuhao commented 5 years ago

我使用的时候也是有这个内存泄漏的问题,你解决了吗?

XDChang commented 5 years ago

我是找到里面的GCD,注释掉里面创建的线程任务,就好了。com.Gallop.LWAsyncDisplayLayer.displayQueue

beibeiaiwuhao commented 5 years ago

哦哦,我刚才试了一下,注释掉之后就可以了,多谢哈

XDChang commented 5 years ago

我是找到相关的GCD,删除了代码中创建的主线程就好了。

发自我的 iPhone

在 2018年12月6日,上午11:00,beibeiaiwuhao notifications@github.com 写道:

我使用的时候也是有这个内存泄漏的问题,你解决了吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.