Open jnm2 opened 4 years ago
It appears that I have to use this pattern:
using (var conversionProgress = rewriteProgress.Spawn(1, "Converting Windows PDB to portable...")) { try { // Something that might throw } finally { conversionProgress.Tick(); // Otherwise the conversionProgress bar stays foreverup } }
I'm less sure now because my workaround above still doesn't seem to work all of the time. There wouldn't be a problem with updating child progress bars from four concurrent tasks, would there?
It appears that I have to use this pattern: