mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-02-18 11:02:31 +00:00
Moved Debug.WriteLine to Pipe disconnect
This commit is contained in:
parent
fe646752d3
commit
bbd9b7f55c
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,7 @@ namespace FFMpegCore.Arguments
|
|||
{
|
||||
try
|
||||
{
|
||||
await ProcessDataAsync(cancellationToken);
|
||||
Debug.WriteLine($"Disconnecting NamedPipeServerStream on {GetType().Name}");
|
||||
await ProcessDataAsync(cancellationToken);
|
||||
}
|
||||
catch (TaskCanceledException)
|
||||
{
|
||||
|
@ -49,6 +48,7 @@ namespace FFMpegCore.Arguments
|
|||
}
|
||||
finally
|
||||
{
|
||||
Debug.WriteLine($"Disconnecting NamedPipeServerStream on {GetType().Name}");
|
||||
Pipe?.Disconnect();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue