Blockcore.Utilities.Extensions.ThreadingExtensions.SafeRelease C# (CSharp) Method

SafeRelease() public static method

Don't throw SemaphoreFullException https://stackoverflow.com/questions/4706734/semaphore-what-is-the-use-of-initial-count
public static SafeRelease ( SemaphoreSlim me ) : void
me SemaphoreSlim
return void
        public static void SafeRelease(this SemaphoreSlim me)
        {
            try
            {
                me.SafeRelease(1);
            }
            catch (SemaphoreFullException)
            {
                // ignore
            }
        }

Same methods

ThreadingExtensions::SafeRelease ( SemaphoreSlim me, int releaseCount ) : void
ThreadingExtensions