nyxx-discord / nyxx

Wrapper around Discord API for Dart
Apache License 2.0
326 stars 49 forks source link

Don't modify Cache.keys during iteration #698

Closed abitofevrything closed 1 month ago

abitofevrything commented 1 month ago

Description

Fix an issue where iterating over Cache.values threw a ConcurrentModificationError due to the underlying _mru list being updated.

Type of change

Checklist: