mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 16:25:28 +03:00
Remove conditional access when it is known to be not null
This commit is contained in:
@@ -29,7 +29,7 @@ namespace Emby.Server.Implementations.Net
|
||||
}
|
||||
catch
|
||||
{
|
||||
socket?.Dispose();
|
||||
socket.Dispose();
|
||||
|
||||
throw;
|
||||
}
|
||||
@@ -55,7 +55,7 @@ namespace Emby.Server.Implementations.Net
|
||||
}
|
||||
catch
|
||||
{
|
||||
socket?.Dispose();
|
||||
socket.Dispose();
|
||||
|
||||
throw;
|
||||
}
|
||||
@@ -97,7 +97,7 @@ namespace Emby.Server.Implementations.Net
|
||||
}
|
||||
catch
|
||||
{
|
||||
socket?.Dispose();
|
||||
socket.Dispose();
|
||||
|
||||
throw;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user