mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
Use null propagation
This commit is contained in:
@@ -33,10 +33,7 @@ namespace Rssdp.Infrastructure
|
||||
}
|
||||
catch
|
||||
{
|
||||
if (retVal != null)
|
||||
{
|
||||
retVal.Dispose();
|
||||
}
|
||||
retVal?.Dispose();
|
||||
|
||||
throw;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user