Remove closeBox when open box in hive database
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -47,6 +47,4 @@ class AccountCacheManager {
|
||||
log('AccountCacheManager::deleteCurrentAccount(): $hashId');
|
||||
return _accountCacheClient.deleteItem(hashId);
|
||||
}
|
||||
|
||||
Future<void> closeAccountHiveCacheBox() => _accountCacheClient.closeBox();
|
||||
}
|
||||
@@ -25,6 +25,4 @@ class AuthenticationInfoCacheManager {
|
||||
Future<void> removeAuthenticationInfo() {
|
||||
return _authenticationInfoCacheClient.deleteItem(AuthenticationInfoCache.keyCacheValue);
|
||||
}
|
||||
|
||||
Future<void> closeAuthenticationInfoHiveCacheBox() => _authenticationInfoCacheClient.closeBox();
|
||||
}
|
||||
@@ -34,6 +34,4 @@ class TokenOidcCacheManager {
|
||||
Future<void> deleteTokenOidc() async {
|
||||
await _tokenOidcCacheClient.clearAllData();
|
||||
}
|
||||
|
||||
Future<void> closeTokenOIDCHiveCacheBox() => _tokenOidcCacheClient.closeBox();
|
||||
}
|
||||
Reference in New Issue
Block a user