mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
move to new System.Threading.Lock type for better performance
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Emby.Server.Implementations.Session
|
||||
/// <summary>
|
||||
/// Lock used for accessing the WebSockets watchlist.
|
||||
/// </summary>
|
||||
private readonly object _webSocketsLock = new object();
|
||||
private readonly Lock _webSocketsLock = new();
|
||||
|
||||
private readonly ISessionManager _sessionManager;
|
||||
private readonly ILogger<SessionWebSocketListener> _logger;
|
||||
|
||||
Reference in New Issue
Block a user