chat-sdk-ios icon indicating copy to clipboard operation
chat-sdk-ios copied to clipboard

How to get all threads in background thread?

Open minhthuc251 opened this issue 4 years ago • 0 comments

I have a problem when call BChatSDK.core()?.threads(with: bThreadFilterPrivateThread, includeDeleted: false) if db have too many entities. It make app freeze because i must call this function in main thread. I tried using DispatchQueue global but it make app crash with error : was mutated while being enumerated. Please help!

minhthuc251 avatar Mar 05 '20 08:03 minhthuc251