diff --git a/src/Linux.Bluetooth/Adapter.cs b/src/Linux.Bluetooth/Adapter.cs index 6abd660..35cd9ef 100644 --- a/src/Linux.Bluetooth/Adapter.cs +++ b/src/Linux.Bluetooth/Adapter.cs @@ -12,7 +12,7 @@ namespace Linux.Bluetooth /// Add events to IAdapter1. /// - /// Reference: https://github.com/bluez/bluez/blob/master/doc/adapter-api.txt + /// Reference: https://github.com/bluez/bluez/blob/master/doc/org.bluez.Adapter.rst /// public class Adapter : IAdapter1, IDisposable { @@ -46,6 +46,8 @@ public void Dispose() { _interfacesWatcher?.Dispose(); _interfacesWatcher = null; + _propertyWatcher?.Dispose(); + _propertyWatcher = null; GC.SuppressFinalize(this); }