aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Utils.ts b/src/Utils.ts
index d4b6f5377..24878a368 100644
--- a/src/Utils.ts
+++ b/src/Utils.ts
@@ -128,6 +128,7 @@ export function deepCopy<K, V>(source: Map<K, V>, predicate?: Predicate<K, V>) {
if (!predicate || predicate(entry)) {
deepCopy.set(entry[0], entry[1]);
}
+ next = entries.next();
}
return deepCopy;
} \ No newline at end of file