We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1622e27 commit e494676Copy full SHA for e494676
lib/src/ua.dart
@@ -317,7 +317,7 @@ class UA extends EventManager {
317
int num_sessions = _sessions.length;
318
319
// Run _terminate_ on every Session.
320
- _sessions.forEach((String? key, _) {
+ _sessions.keys.toList().forEach((String? key, _) {
321
if (_sessions.containsKey(key)) {
322
logger.d('closing session $key');
323
try {
0 commit comments