feat: 重构会话管理与提醒通知系统
This commit is contained in:
Vendored
+3
-2
@@ -222,8 +222,9 @@ class CacheInvalidator {
|
||||
|
||||
void invalidate(String key) {
|
||||
final store = _store;
|
||||
if (store != null) {
|
||||
unawaited(store.remove(CacheScope.scopedKey(key)));
|
||||
final scope = CacheScope.maybeToken();
|
||||
if (store != null && scope != null) {
|
||||
unawaited(store.remove(CacheScope.scopedKey(key, scopeToken: scope)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user