Stream custom live channels using your own media
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
465 B

namespace ErsatzTV.Core.FFmpeg;
public sealed class StartLockReleaser(SemaphoreSlim slim) : IDisposable
{
private bool _disposedValue;
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
private void Dispose(bool disposing)
{
if (!_disposedValue)
{
if (disposing)
{
slim.Release();
}
_disposedValue = true;
}
}
}