diff --git a/aider/mdstream.py b/aider/mdstream.py index b04cd0252..947777651 100755 --- a/aider/mdstream.py +++ b/aider/mdstream.py @@ -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()