Removed exception "ConcurrentModificationError

This commit is contained in:
Sergey Penkovsky
2023-01-27 16:02:49 +03:00
parent 21c3e83a6a
commit a9b0ff4f36

View File

@@ -71,7 +71,9 @@ class Scope {
/// ///
/// return [Scope] /// return [Scope]
Scope dropModules() { Scope dropModules() {
_modulesList.removeAll(_modulesList); // [AlexeyYuPopkov](https://github.com/AlexeyYuPopkov) Thank you for the [Removed exception "ConcurrentModificationError"](https://github.com/pese-git/cherrypick/pull/2)
_modulesList.clear();
return this; return this;
} }