Skip to content

Commit

Permalink
Add fix to avoid re-subscribe on resume
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko committed Jul 3, 2023
1 parent 1568ed1 commit 282e08d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/set.dart
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ class RealmSetNotificationsController<T extends Object?> extends NotificationsCo
}

Stream<RealmSetChanges<T>> createStream() {
streamController = StreamController<RealmSetChanges<T>>(onListen: start, onPause: stop, onResume: start, onCancel: stop);
streamController = StreamController<RealmSetChanges<T>>(onListen: start, onCancel: stop);
return streamController.stream;
}

Expand Down

0 comments on commit 282e08d

Please sign in to comment.