Skip to content

Commit 1727bc1

Browse files
authored
fix(BUGS-27112): Make document listeners pub in Replicator (#7)
To release a listener, we need to drop it. In order to do that, we need access to the field in the Replicator struct.
1 parent 74526d9 commit 1727bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/replicator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ pub struct Replicator {
535535
pub headers: Option<MutableDict>,
536536
pub context: Option<Box<ReplicationConfigurationContext>>,
537537
change_listeners: ReplicatorsListeners<ReplicatorChangeListener>,
538-
document_listeners: ReplicatorsListeners<ReplicatedDocumentListener>,
538+
pub document_listeners: ReplicatorsListeners<ReplicatedDocumentListener>,
539539
}
540540

541541
impl CblRef for Replicator {

0 commit comments

Comments
 (0)