TF-624 Close hive database when logout
This commit is contained in:
@@ -42,4 +42,8 @@ class HiveCacheConfig {
|
||||
Hive.registerAdapter(TokenOidcCacheAdapter());
|
||||
Hive.registerAdapter(AccountCacheAdapter());
|
||||
}
|
||||
|
||||
Future closeHive() async {
|
||||
await Hive.close();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user