mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
parent
ba8904429d
commit
fdc524d516
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,6 @@ public async Task During(CancellationToken cancellationToken = default)
|
|||
try
|
||||
{
|
||||
await ProcessDataAsync(cancellationToken);
|
||||
Debug.WriteLine($"Disconnecting NamedPipeServerStream on {GetType().Name}");
|
||||
}
|
||||
catch (TaskCanceledException)
|
||||
{
|
||||
|
@ -49,6 +48,7 @@ public async Task During(CancellationToken cancellationToken = default)
|
|||
}
|
||||
finally
|
||||
{
|
||||
Debug.WriteLine($"Disconnecting NamedPipeServerStream on {GetType().Name}");
|
||||
Pipe?.Disconnect();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue