Add delay

Former-commit-id: ef64263899
This commit is contained in:
Malte Rosenbjerg 2020-05-13 00:00:02 +02:00
parent 93733964aa
commit dd785a8203

View file

@ -652,7 +652,8 @@ public async Task Video_Cancel_Async()
.OutputToPipe(reader) .OutputToPipe(reader)
.CancellableThrough(out var cancel) .CancellableThrough(out var cancel)
.ProcessAsynchronously(false); .ProcessAsynchronously(false);
await Task.Delay(100);
cancel(); cancel();
var result = await task; var result = await task;