mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
move to new System.Threading.Lock type for better performance
This commit is contained in:
@@ -62,7 +62,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
|
||||
private readonly AsyncNonKeyedLocker _thumbnailResourcePool;
|
||||
|
||||
private readonly object _runningProcessesLock = new object();
|
||||
private readonly Lock _runningProcessesLock = new();
|
||||
private readonly List<ProcessWrapper> _runningProcesses = new List<ProcessWrapper>();
|
||||
|
||||
// MediaEncoder is registered as a Singleton
|
||||
|
||||
Reference in New Issue
Block a user