From d20f62b11be6000b3fe3ce815d86f4a528cbc8c8 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Mon, 20 Jul 2026 13:35:24 +0300 Subject: [PATCH] Enable client pausing and resuming for all builds The mechanism has been running on nightly and debug builds since it was introduced and Sentry shows the matrix-rust-sdk#6366 background teardown panic (SwitchGuard::drop) occurring far less on nightly than on production. Flip the default on for release builds too so store users get the fix. --- ElementX/Sources/Application/Settings/AppSettings.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElementX/Sources/Application/Settings/AppSettings.swift b/ElementX/Sources/Application/Settings/AppSettings.swift index 0e0cad12c..bdf323e4a 100644 --- a/ElementX/Sources/Application/Settings/AppSettings.swift +++ b/ElementX/Sources/Application/Settings/AppSettings.swift @@ -425,7 +425,7 @@ final nonisolated class AppSettings: @unchecked Sendable { @UserPreference(defaultValue: false) var automaticBackPaginationEnabled: Bool - @UserPreference(defaultValue: AppBuildType.current != .release, volatile: true) + @UserPreference(defaultValue: true, volatile: true) var clientPausingAndResumingEnabled: Bool @UserPreference(defaultValue: false)