mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
Fix some warnings
This commit is contained in:
@@ -70,7 +70,6 @@ namespace Emby.Server.Implementations.EntryPoints
|
||||
if (!string.Equals(_lastConfigIdentifier, GetConfigIdentifier(), StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
Stop();
|
||||
|
||||
Start();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -455,7 +455,7 @@ namespace Emby.Server.Implementations.EntryPoints
|
||||
return new[] { item };
|
||||
}
|
||||
|
||||
return new T[] { };
|
||||
return Array.Empty<T>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -156,7 +156,7 @@ namespace Emby.Server.Implementations.EntryPoints
|
||||
{
|
||||
try
|
||||
{
|
||||
await _sessionManager.SendMessageToAdminSessions(name, data, CancellationToken.None);
|
||||
await _sessionManager.SendMessageToAdminSessions(name, data, CancellationToken.None).ConfigureAwait(false);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user