catch shutdown errors

This commit is contained in:
Paul Gauthier 2024-01-23 10:45:58 -08:00
parent af4f224c00
commit 3e96fda71a

View file

@ -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()