mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-03 22:56:57 +02:00
Bug Fix - App crashes on new start chat.
This commit is contained in:
@@ -133,6 +133,8 @@
|
||||
|
||||
userContact = nil;
|
||||
|
||||
forceSearchResultRefresh = NO;
|
||||
|
||||
searchProcessingQueue = nil;
|
||||
searchProcessingLocalContacts = nil;
|
||||
searchProcessingMatrixContacts = nil;
|
||||
@@ -299,6 +301,12 @@
|
||||
|
||||
dispatch_sync(dispatch_get_main_queue(), ^{
|
||||
|
||||
// Sanity check: check whether self has been destroyed.
|
||||
if (!searchProcessingQueue)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Render the search result only if there is no other search in progress.
|
||||
searchProcessingCount --;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user