diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-02-09 17:49:18 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2025-02-09 17:49:18 -0600 |
| commit | ba85ca83c1ca1a394a938497019404a11ecbf5bb (patch) | |
| tree | 497bc98dd98bbe68d76da84d8875b0ce7b8b1e19 /src | |
| parent | f0b7b48eb6a6b6dcb9e19d693403f70bda1bba32 (diff) | |
| download | slskd-ba85ca83c1ca1a394a938497019404a11ecbf5bb.tar.gz | |
might as well try and dispose while we're here
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Integrations/Scripts/ScriptService.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slskd/Integrations/Scripts/ScriptService.cs b/src/slskd/Integrations/Scripts/ScriptService.cs index 5e6d23d6..a6ddb251 100644 --- a/src/slskd/Integrations/Scripts/ScriptService.cs +++ b/src/slskd/Integrations/Scripts/ScriptService.cs @@ -128,6 +128,7 @@ public class ScriptService try { process?.Close(); + process?.Dispose(); } catch (Exception ex) { |
