TF-624 Close hive database when logout

This commit is contained in:
dab246
2022-06-08 15:21:29 +07:00
committed by Dat H. Pham
parent 0d551984fb
commit 70cf445443
2 changed files with 5 additions and 2 deletions
@@ -42,4 +42,8 @@ class HiveCacheConfig {
Hive.registerAdapter(TokenOidcCacheAdapter());
Hive.registerAdapter(AccountCacheAdapter());
}
Future closeHive() async {
await Hive.close();
}
}