From fb76d062fccac9bdbb59e8d28c4d342ee48a46ef Mon Sep 17 00:00:00 2001 From: Flavio Alescio Date: Fri, 12 May 2023 18:41:11 +0200 Subject: [PATCH] fix compile error, Task not throwing --- ElementX/Sources/Application/AppCoordinator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()