From cda28f9ba106bcbfee5ee4811c1d29ca07c1861d Mon Sep 17 00:00:00 2001 From: Valentin Kindschi Date: Mon, 1 Sep 2025 17:23:41 +0200 Subject: [PATCH 1/2] docs: wrong URL --- src/Linux.Bluetooth/Adapter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Linux.Bluetooth/Adapter.cs b/src/Linux.Bluetooth/Adapter.cs index 6abd660..ccb1bf9 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 { From 1482a3bdcfe5312ed79bf6a2e5251811ad592f32 Mon Sep 17 00:00:00 2001 From: Valentin Kindschi Date: Mon, 20 Oct 2025 13:36:51 +0200 Subject: [PATCH 2/2] fix: Disposing PropertyWatcher with Adapter disposal --- src/Linux.Bluetooth/Adapter.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Linux.Bluetooth/Adapter.cs b/src/Linux.Bluetooth/Adapter.cs index ccb1bf9..35cd9ef 100644 --- a/src/Linux.Bluetooth/Adapter.cs +++ b/src/Linux.Bluetooth/Adapter.cs @@ -46,6 +46,8 @@ public void Dispose() { _interfacesWatcher?.Dispose(); _interfacesWatcher = null; + _propertyWatcher?.Dispose(); + _propertyWatcher = null; GC.SuppressFinalize(this); }