Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Commit

Permalink
fix(core): ensure change detection doesn't trigger an infinite loop w…
Browse files Browse the repository at this point in the history
…hile not in debug mode
  • Loading branch information
matsko committed Mar 28, 2014
1 parent f032b37 commit 6ac105c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/change_detection/dirty_checking_change_detector.dart
Expand Up @@ -1295,8 +1295,8 @@ class _DuplicateItemRecordList {
next._prevDupRec = prev;
}

assert((record._prevDupRec = null) == null);
assert((record._nextDupRec = null) == null);
record._prevDupRec = null;
record._nextDupRec = null;

return head == null;
}
Expand Down

0 comments on commit 6ac105c

Please sign in to comment.