diff options
| author | copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> | 2025-12-07 00:22:19 +0000 |
|---|---|---|
| committer | copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> | 2025-12-07 00:22:19 +0000 |
| commit | 4792270460293b4810e2e2a34f8deede39008502 (patch) | |
| tree | 1cc577b16f15a39ee625bb3a840905aa0318e6e0 /src | |
| parent | 0a66469fd81446b5d54becd049f8da90898cc85c (diff) | |
| download | slskd-4792270460293b4810e2e2a34f8deede39008502.tar.gz | |
Use explicit Exception type in Mutex disposal catch block
Co-authored-by: jpdillingham <17145758+jpdillingham@users.noreply.github.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index 85cc4a3a..3bd0798b 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -569,7 +569,7 @@ namespace slskd { Mutex?.Dispose(); } - catch + catch (Exception) { // Ignore disposal errors to prevent masking other exceptions } |
