diff --git a/ElementX/Sources/Application/AppCoordinator.swift b/ElementX/Sources/Application/AppCoordinator.swift index 6642873d9..5e8495d56 100644 --- a/ElementX/Sources/Application/AppCoordinator.swift +++ b/ElementX/Sources/Application/AppCoordinator.swift @@ -446,7 +446,7 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationCoordinatorDelegate, // Allow for everything to deallocate properly Task { - try await Task.sleep(for: .seconds(2)) + try? await Task.sleep(for: .seconds(2)) userSessionStore.clearCache(for: userID) stateMachine.processEvent(.startWithExistingSession) hideLoadingIndicator()