Add "reset" functions to clients

This commit is contained in:
schroda
2025-11-07 01:25:36 +01:00
parent b062871163
commit 284c194ac3
3 changed files with 37 additions and 12 deletions

View File

@@ -473,8 +473,10 @@ export class RequestManager {
AuthManager.setAuthRequired(null);
AuthManager.setAuthInitialized(false);
AuthManager.removeTokens();
this.graphQLClient.client.resetStore();
this.graphQLClient.terminateSubscriptions();
this.graphQLClient.reset();
this.restClient.reset();
this.cache.clear();
this.imageQueue.clear();
}