aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Integrations/VPN/VPNService.cs5
1 files changed, 4 insertions, 1 deletions
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
{