dispatch_call_block_and_release

2019-05-14  本文已影响0人  叶舞清风

dispatch_call_block_and_release

GCD is used in your app. So.. Bring more detail-info please?     code where it's occurred? May be you need copy block vs retain, may be you need use __block vars correctly. May be something else. Obviously, your object had been captured by block is released and deallocated when happens queue_drain, and after that you call method of the object in other scope, or in the block scope.

死锁问题
            我的是将 串行队列DISPATCH_QUEUE_SERIAL  改并行DISPATCH_QUEUE_PRIORITY_DEFAULT
上一篇下一篇

猜你喜欢

热点阅读