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

Commit 6ac105c

Browse files
committed
fix(core): ensure change detection doesn't trigger an infinite loop while not in debug mode
1 parent f032b37 commit 6ac105c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/change_detection/dirty_checking_change_detector.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,8 +1295,8 @@ class _DuplicateItemRecordList {
12951295
next._prevDupRec = prev;
12961296
}
12971297

1298-
assert((record._prevDupRec = null) == null);
1299-
assert((record._nextDupRec = null) == null);
1298+
record._prevDupRec = null;
1299+
record._nextDupRec = null;
13001300

13011301
return head == null;
13021302
}

0 commit comments

Comments
 (0)