fix: Ensure spinner ends on stop

This commit is contained in:
Paul Gauthier 2025-05-08 16:32:07 -07:00 committed by Paul Gauthier (aider)
parent 37601eb4b7
commit c706663841

View file

@ -44,6 +44,7 @@ class WaitingSpinner:
self._stop_event.set()
if self._thread.is_alive():
self._thread.join(timeout=0.1)
self.spinner.end()
# Allow use as a context-manager
def __enter__(self):