mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Wait until the sync has stopped before marking the task as complete. (#3564)
This commit is contained in:
@@ -305,7 +305,7 @@ class ClientProxy: ClientProxyProtocol {
|
||||
stopSync(completion: nil)
|
||||
}
|
||||
|
||||
private func stopSync(completion: (() -> Void)?) {
|
||||
func stopSync(completion: (() -> Void)?) {
|
||||
MXLog.info("Stopping sync")
|
||||
|
||||
if restartTask != nil {
|
||||
|
||||
Reference in New Issue
Block a user