mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
parent
7167b4f728
commit
5d8dfc8f7d
1 changed files with 2 additions and 4 deletions
|
@ -84,10 +84,8 @@ public Task During(CancellationToken cancellationToken)
|
||||||
|
|
||||||
public void Close()
|
public void Close()
|
||||||
{
|
{
|
||||||
if (!File.Exists(PipePath))
|
if (File.Exists(PipePath))
|
||||||
throw new IOException($"Could not find pipe to close");
|
File.Delete(PipePath);
|
||||||
|
|
||||||
File.Delete(PipePath);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public System.IO.Stream GetStream()
|
public System.IO.Stream GetStream()
|
||||||
|
|
Loading…
Reference in a new issue