robbiehanson / XMPPFramework

An XMPP Framework in Objective-C for Mac and iOS
Other
5.91k stars 2.09k forks source link

Loading XMPPMessage Archiving_ Contact_ CoreDataObject data stuck #1233

Closed huoda1237 closed 10 months ago

huoda1237 commented 1 year ago

Operating steps:

The first mobile phone enters the app and loads XMPPMessage Archiving Contact The data from CoreDataObject, and then the first phone goes back to the background (stream does not call disconnect, does not kill the app). Use the second phone to send several messages to the first phone, and then the first phone opens the app to enter the foreground. The first phone will get stuck and the app interface cannot be operated

Do you know how to solve it? thanks

操作步骤:

第一台手机进入app加载XMPPMessageArchiving_Contact_CoreDataObject的数据,然后第一台手机退到后台(stream没有调用disconnect,不杀死app),用第二台手机发送几条消息给第一台手机,然后第一台手机打开app进入到前台,第一台手机会出现卡死的情况,app界面无法操作

有知道怎么解决的吗?谢谢