mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +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):
|
def __del__(self):
|
||||||
if self.live:
|
if self.live:
|
||||||
self.live.stop()
|
try:
|
||||||
|
self.live.stop()
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
|
||||||
def update(self, text, final=False):
|
def update(self, text, final=False):
|
||||||
now = time.time()
|
now = time.time()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue