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

Commit

Permalink
fix(change_detector): add null check in _revertToPreviousState
Browse files Browse the repository at this point in the history
Closes #1691
  • Loading branch information
mhbrown authored and chirayuk committed Mar 31, 2015
1 parent 97d2f55 commit 0643579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/change_detection/dirty_checking_change_detector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ class _CollectionChangeRecord<V> implements CollectionChangeRecord<V> {
_linkedRecords.put(record);
}

prev._next = null;
if (prev != null) prev._next = null;
_itTail = prev;
_undoDeltas();
}
Expand Down

0 comments on commit 0643579

Please sign in to comment.