mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-13 08:37:07 +00:00
move to new System.Threading.Lock type for better performance
This commit is contained in:
parent
b89877554c
commit
2614fecf8d
20 changed files with 30 additions and 26 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue