Skip to content

Commit

Permalink
Merge pull request #1067 from matrix-org/manu/4202_session_does_not_r…
Browse files Browse the repository at this point in the history
…esume

MXSession: Fix deadlock regression in `resume()`
  • Loading branch information
manuroe authored Apr 13, 2021
2 parents a8a54d6 + 57c46f1 commit a9e2e44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Changes to be released in next version
*

🐛 Bugfix
*
* MXSession: Fix deadlock regression in resume() (vector-im/element-ios/issues/4202).

⚠️ API Changes
*
Expand Down
2 changes: 2 additions & 0 deletions MatrixSDK/MXSession.m
Original file line number Diff line number Diff line change
Expand Up @@ -1757,6 +1757,8 @@ - (void)handleBackgroundSyncCacheIfRequiredWithCompletion:(void (^)(void))comple
{
completion();
}

taskCompleted();
}];
}

Expand Down

0 comments on commit a9e2e44

Please sign in to comment.