|
|
@ -23,7 +23,8 @@ namespace ImageProcessor.Web.Helpers |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The semaphore slims.
|
|
|
/// The semaphore slims.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
private static readonly ConcurrentDictionary<string, SemaphoreSlim> SemaphoreSlims = new ConcurrentDictionary<string, SemaphoreSlim>(); |
|
|
private static readonly ConcurrentDictionary<string, SemaphoreSlim> SemaphoreSlims |
|
|
|
|
|
= new ConcurrentDictionary<string, SemaphoreSlim>(); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The lock.
|
|
|
/// The lock.
|
|
|
@ -95,7 +96,7 @@ namespace ImageProcessor.Web.Helpers |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The disposable scope.
|
|
|
/// The disposable scope.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
internal sealed class DisposableScope : IDisposable |
|
|
private sealed class DisposableScope : IDisposable |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The key
|
|
|
/// The key
|
|
|
|