fix(differ): clean up stale identity change refs

Closes #7193
This commit is contained in:
Kara Erickson
2016-02-24 08:40:02 -08:00
committed by vsavkin
parent 8bb66a5eb3
commit ab36ea097b
3 changed files with 51 additions and 5 deletions

View File

@ -325,6 +325,9 @@ export class DefaultIterableDiffer implements IterableDiffer {
if (this._removalsTail !== null) {
this._removalsTail._nextRemoved = null;
}
if (this._identityChangesTail !== null) {
this._identityChangesTail._nextIdentityChange = null;
}
}
/** @internal */