chore: on new token update, clear whole new token cache in case there are identical tokens (#3985)

This commit is contained in:
ggurdin 2025-09-15 11:25:59 -04:00 committed by GitHub
parent 617030cd78
commit 29315990e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,7 @@ class TokensUtil {
}
static clearNewTokenCache(String eventID) {
_newTokenCache.remove(eventID);
_newTokenCache.clear();
}
static List<TokenPosition>? _getCachedTokenPositions(String eventID) {