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

Commit 4dfa267

Browse files
committed
fix(change-detection): reset next/prev on watchGroup.marker
1 parent 890dfb2 commit 4dfa267

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/change_detection/linked_list.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ abstract class _EvalWatchList {
9999
if (prev == list._marker) {
100100
list._evalWatchHead = list._evalWatchTail = item;
101101
prev = prev._prevEvalWatch;
102+
list._marker._prevEvalWatch = null;
103+
list._marker._nextEvalWatch = null;
102104
}
103105
item._nextEvalWatch = next;
104106
item._prevEvalWatch = prev;

0 commit comments

Comments
 (0)