v1.0.1
epi052/feroxbusterv1.0.1Oct 6, 2020by epi052
AI Summary
This release addresses a crash or hang issue that occurred when the MultiProgress UI component was initialized multiple times, switching to a thread-safe atomic counter to determine when to join progress bars.
Key Highlights
- Fixed an issue where `MultiProgress.join` could be called multiple times
- Replaced directory depth logic with `AtomicUsize` for thread safety
- Thanks to @BoDresha for reporting the bug
Full Release Notes
- fixed an issue that could present itself when [join](https://docs.rs/indicatif/0.15.0/indicatif/struct.MultiProgress.html#method.join) was called more than once
- instead of relying on directory depth to determine whether to call .join or not, an [AtomicUsize](https://doc.rust-lang.org/std/sync/atomic/struct.AtomicUsize.html) is checked instead
Thanks to twitter user [@BoDresha](https://twitter.com/BoDresha) for reaching out and letting me know about the bug!