mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Fix #97
This commit is contained in:
parent
78919dcdcf
commit
eea6adc6f1
1 changed files with 1 additions and 1 deletions
|
@ -64,6 +64,7 @@ void OnCancelEvent(object sender, EventArgs args)
|
|||
errorCode = t.Result;
|
||||
cancellationTokenSource.Cancel();
|
||||
}), _ffMpegArguments.During(cancellationTokenSource.Token));
|
||||
_ffMpegArguments.Post();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
@ -72,7 +73,6 @@ void OnCancelEvent(object sender, EventArgs args)
|
|||
finally
|
||||
{
|
||||
CancelEvent -= OnCancelEvent;
|
||||
_ffMpegArguments.Post();
|
||||
}
|
||||
|
||||
return HandleCompletion(throwOnError, errorCode, instance.ErrorData);
|
||||
|
|
Loading…
Reference in a new issue