From 6b13c52cd0d2fc172b8fe9ed0c741e2994f9f0b3 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Wed, 24 May 2023 17:13:21 +0300 Subject: [PATCH] Disable background app refreshes until we understand the deadlocks and crashes we've been seeing --- ElementX/Sources/Application/AppCoordinator.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ElementX/Sources/Application/AppCoordinator.swift b/ElementX/Sources/Application/AppCoordinator.swift index 509027d34..ec09239f5 100644 --- a/ElementX/Sources/Application/AppCoordinator.swift +++ b/ElementX/Sources/Application/AppCoordinator.swift @@ -565,9 +565,10 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationCoordinatorDelegate, isSuspended = true + #warning("Intentionally disabled until we understand certain deadlocks") // This does seem to work if scheduled from the background task above // Schedule it here instead but with an earliest being date of 30 seconds - scheduleBackgroundAppRefresh() + // scheduleBackgroundAppRefresh() } @objc