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 ac4f9f5 commit 9117018Copy full SHA for 9117018
lib/src/ua.dart
@@ -319,7 +319,7 @@ class UA extends EventManager {
319
int num_sessions = _sessions.length;
320
321
// Run _terminate_ on every Session.
322
- _sessions.forEach((String? key, _) {
+ _sessions.keys.toList().forEach((String? key, _) {
323
if (_sessions.containsKey(key)) {
324
logger.d('closing session $key');
325
try {
0 commit comments