Remove closeBox when open box in hive database

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-05-30 10:08:02 +07:00
committed by Dat H. Pham
parent 19cede1a5f
commit 02c2e08e40
12 changed files with 11 additions and 45 deletions
@@ -29,6 +29,4 @@ class StateCacheManager {
final stateKey = TupleKey(stateType.name, accountId.asString, userName.value).encodeKey;
return await _stateCacheClient.deleteItem(stateKey);
}
Future<void> closeStateHiveCacheBox() => _stateCacheClient.closeBox();
}