Skip to content

Commit fedd569

Browse files
authored
Update parse_live_list.dart (#406)
In theory this should not make any difference. In practise sometimes an error gets thrown: The following NoSuchMethodError was thrown while finalizing the widget tree: The method 'dispose' was called on null. Receiver: null Tried calling: dispose()
1 parent 87cbba8 commit fedd569

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/src/utils/parse_live_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ class _ParseLiveListWidgetState<T extends ParseObject>
894894

895895
@override
896896
void dispose() {
897-
_liveList.dispose();
897+
_liveList?.dispose();
898898
_liveList = null;
899899
super.dispose();
900900
}

0 commit comments

Comments
 (0)