Add Track Number support and make Cancel async

This commit is contained in:
Michael Bucari-Tovo 2022-06-19 12:56:33 -06:00
parent ae6c2afb30
commit 4658afdc20
9 changed files with 29 additions and 21 deletions

View file

@ -143,10 +143,7 @@ namespace LibationWinForms.ProcessQueue
try
{
if (CurrentProcessable is AudioDecodable audioDecodable)
{
//There's some threadding bug that causes this to hang if executed synchronously.
await Task.Run(audioDecodable.Cancel);
}
await audioDecodable.CancelAsync();
}
catch (Exception ex)
{