From fd234710a9d577582f324d11e9901bff0307e97f Mon Sep 17 00:00:00 2001 From: Marino Faggiana Date: Tue, 8 Oct 2024 10:39:23 +0200 Subject: [PATCH] removeAllCachedResponses Signed-off-by: Marino Faggiana --- iOSClient/AppDelegate.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/iOSClient/AppDelegate.swift b/iOSClient/AppDelegate.swift index 18682f18f6..0eaf10cd1d 100644 --- a/iOSClient/AppDelegate.swift +++ b/iOSClient/AppDelegate.swift @@ -400,8 +400,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD NCNetworking.shared.cancelAllTask() - URLCache.shared.memoryCapacity = 0 - URLCache.shared.diskCapacity = 0 + URLCache.shared.removeAllCachedResponses() utilityFileSystem.removeGroupDirectoryProviderStorage() utilityFileSystem.removeGroupApplicationSupport()