From 79a17ea8d4cbe6b96e39818cb57053bce6fa08d7 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 15 Feb 2026 10:43:54 -0600 Subject: properly check result of WaitAsync --- src/slskd/Integrations/VPN/VPNService.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/slskd/Integrations/VPN/VPNService.cs b/src/slskd/Integrations/VPN/VPNService.cs index d82a8bfe..95d897a3 100644 --- a/src/slskd/Integrations/VPN/VPNService.cs +++ b/src/slskd/Integrations/VPN/VPNService.cs @@ -159,7 +159,10 @@ public class VPNService : IDisposable VPNStatus status = new VPNStatus(); // one at a time! - await TimerElapsedLock.WaitAsync(0); + if (!await TimerElapsedLock.WaitAsync(0)) + { + return; + } try { -- cgit v1.2.3