mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
catch shutdown errors
This commit is contained in:
parent
af4f224c00
commit
3e96fda71a
1 changed files with 4 additions and 1 deletions
|
@ -59,7 +59,10 @@ class MarkdownStream:
|
|||
|
||||
def __del__(self):
|
||||
if self.live:
|
||||
self.live.stop()
|
||||
try:
|
||||
self.live.stop()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
def update(self, text, final=False):
|
||||
now = time.time()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue