Close hive boxes in Background (notificaiton)
This commit is contained in:
committed by
Dat H. Pham
parent
7b5c0d5a75
commit
adaab2198d
@@ -24,4 +24,6 @@ class StateCacheManager {
|
||||
final stateKey = TupleKey(stateCache.type.name, accountId.asString, userName.value).encodeKey;
|
||||
return await _stateCacheClient.insertItem(stateKey, stateCache);
|
||||
}
|
||||
|
||||
Future<void> closeStateHiveCacheBox() => _stateCacheClient.closeBox();
|
||||
}
|
||||
Reference in New Issue
Block a user