diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2019-03-08 00:11:53 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-08 00:11:53 +0300 |
| commit | e04a152ed053a5a993b2d3d1f27b0f9ff6364fed (patch) | |
| tree | 2c93c01ef4dfd516041982a13caf37d2ffb084fb /Emby.Server.Implementations/Diagnostics/CommonProcess.cs | |
| parent | 75996476a7ce63134e37935e8ddeddfdb0d63a5d (diff) | |
| parent | ab9859ecefa7ec28b38cc807226b3df31fdf3e93 (diff) | |
Merge pull request #996 from Bond-009/libscan
Reduce the amount of exceptions thrown
Diffstat (limited to 'Emby.Server.Implementations/Diagnostics/CommonProcess.cs')
| -rw-r--r-- | Emby.Server.Implementations/Diagnostics/CommonProcess.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Diagnostics/CommonProcess.cs b/Emby.Server.Implementations/Diagnostics/CommonProcess.cs index 78b22bda3..2c4ef170d 100644 --- a/Emby.Server.Implementations/Diagnostics/CommonProcess.cs +++ b/Emby.Server.Implementations/Diagnostics/CommonProcess.cs @@ -130,7 +130,7 @@ namespace Emby.Server.Implementations.Diagnostics public void Dispose() { - _process.Dispose(); + _process?.Dispose(); } } } |
