From 24b734299857c2a231918bcad02a3b06dbf3baf4 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 15 Feb 2026 10:43:19 -0600 Subject: add a null coalesce of Timer when disposing --- src/slskd/Integrations/VPN/VPNService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/slskd/Integrations/VPN/VPNService.cs b/src/slskd/Integrations/VPN/VPNService.cs index bc3eb668..ead0ce60 100644 --- a/src/slskd/Integrations/VPN/VPNService.cs +++ b/src/slskd/Integrations/VPN/VPNService.cs @@ -140,7 +140,7 @@ public class VPNService : IDisposable { if (disposing) { - Timer.Dispose(); + Timer?.Dispose(); } Disposed = true; -- cgit v1.2.3