mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
fix: Ensure spinner ends on stop
This commit is contained in:
parent
37601eb4b7
commit
c706663841
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ class WaitingSpinner:
|
||||||
self._stop_event.set()
|
self._stop_event.set()
|
||||||
if self._thread.is_alive():
|
if self._thread.is_alive():
|
||||||
self._thread.join(timeout=0.1)
|
self._thread.join(timeout=0.1)
|
||||||
|
self.spinner.end()
|
||||||
|
|
||||||
# Allow use as a context-manager
|
# Allow use as a context-manager
|
||||||
def __enter__(self):
|
def __enter__(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue