muka / go-bluetooth

Golang bluetooth client based on bluez DBus interfaces
Apache License 2.0
653 stars 123 forks source link

Remove unnecessary send to b.propchanged #184

Open amrbekhit opened 1 year ago

amrbekhit commented 1 year ago

Sending nil to b.propchanged when the context is done does not seem to serve any purpose. The bluez.WatchProperties function that creates propchanged does not read from it. The channel is also not accessible outside of the beacon.