Client crashing when switching view after waking up (#46)
Closed
Artur Hefczyc opened 7 years ago

After it is woken up and while it is reconnecting if I switch between app views it usually crashes.

Andrzej Wójcik (Tigase) commented 7 years ago

I checked and if I'm correct the same thing is happening for last 3 builds. I'm not able to replicate it, however it looks like you are receiving message at the same time you switch view and this causes inconsistency during loading items to display (insert is done between reads) and causes exception.

I'm going to replace direct reads from memory with reads from cache which will be refreshed at once. This way, changes to database during reloading of table will not cause any inconsistencies.

Andrzej Wójcik (Tigase) commented 7 years ago

I've rewritten chats list controller as I'm expecting it to cause issues. New build will contain this fix.

Artur Hefczyc commented 7 years ago

Tested it a little bit and have not seen any more crashes.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
5389
Version
Version 1.0 Beta1
Issue Votes (0)
Watchers (0)
Reference
tigase/_clients/siskin-im#46
Please wait...
Page is in error, reload to recover