Redth / ResizetizerNT

Add SVG's and PNG's to your shared Xamarin Project
MIT License
318 stars 31 forks source link

List replaced with ConcurrentBag #27

Closed bondarenkod closed 4 years ago

bondarenkod commented 4 years ago

To fix the issue https://github.com/Redth/ResizetizerNT/issues/8 After a few tests I noticed that the result list contains null elements. At first, I checked all the results from Resizer.Resize and Resizer.CopyFile in the method DoExecute, but there weren't any null ones.

It's weird bug, I spend a lot of time trying to avoid it in my projects. Hope this help.

Redth commented 4 years ago

Hey thanks for this, that's a nice catch, I'll merge this in, it likely can't hurt, and hopefully that fixes #8 once and for all 👍