diff --git a/kuksa_databroker/databroker/src/broker.rs b/kuksa_databroker/databroker/src/broker.rs index 22be8b32..0532b327 100644 --- a/kuksa_databroker/databroker/src/broker.rs +++ b/kuksa_databroker/databroker/src/broker.rs @@ -1515,10 +1515,9 @@ impl<'a, 'b> AuthorizedAccess<'a, 'b> { let (sender, receiver) = mpsc::channel(10); if !entries_on_changed.is_empty() { - let sender_on_changed = sender.clone(); let subscription = ChangeSubscription { entries: entries_on_changed, - sender: sender_on_changed, + sender: sender.clone(), permissions: self.permissions.clone(), };