Former-commit-id: eea6adc6f1
This commit is contained in:
Malte Rosenbjerg 2020-08-27 17:22:04 +02:00
parent d0bca699be
commit 0d3f98a011

View file

@ -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);