MultiBar::listen hangs on errors
- Lenguaje dominante
- Rust
- Estrellas
- 600
- Forks
- 59
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Using the pattern in the examples on the website, MultiBar::listen will likely hang if an error occurs as the ProgressBar::finish function will never get called. It'd be nice if listen would stop blocking if there aren't any more progress bars.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Look at the MultiBar::listen implementation and the example usage pattern. Identify where errors might prevent ProgressBar::finish from being called. The fix likely involves modifying the listen loop to detect when all progress bars are finished or have errored, and then exit cleanly. Test by simulating an error in an example to reproduce the hang.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- cli, tooling
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100