chore: on new token update, clear whole new token cache in case there are identical tokens (#3985)
This commit is contained in:
parent
617030cd78
commit
29315990e3
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ class TokensUtil {
|
|||
}
|
||||
|
||||
static clearNewTokenCache(String eventID) {
|
||||
_newTokenCache.remove(eventID);
|
||||
_newTokenCache.clear();
|
||||
}
|
||||
|
||||
static List<TokenPosition>? _getCachedTokenPositions(String eventID) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue