mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Merge pull request #4925 from vector-im/gil/4919_app_may_not_start_in_1.6.0
App may not start in 1.6.0
This commit is contained in:
commit
b0b8a06088
2 changed files with 3 additions and 0 deletions
|
@ -577,9 +577,11 @@ Matrix session observer used to detect new opened sessions.
|
|||
dispatch_group_t dispatchGroup = dispatch_group_create();
|
||||
|
||||
dispatch_group_enter(dispatchGroup);
|
||||
session.spaceService.graphUpdateEnabled = NO;
|
||||
// Not continuing in completion block here, because PushKit mandates reporting a new call in the same run loop.
|
||||
// 'handleBackgroundSyncCacheIfRequiredWithCompletion' is processing to-device events synchronously.
|
||||
[session handleBackgroundSyncCacheIfRequiredWithCompletion:^{
|
||||
session.spaceService.graphUpdateEnabled = YES;
|
||||
dispatch_group_leave(dispatchGroup);
|
||||
}];
|
||||
|
||||
|
|
1
changelog.d/4919.bugfix
Normal file
1
changelog.d/4919.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
fixed App may not start in 1.6.0
|
Loading…
Reference in a new issue