Skip to content

Commit a7bc256

Browse files
jlsnetoCopilot
andauthored
Update cereja/display/_display.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2322282 commit a7bc256

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cereja/display/_display.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,8 @@ def __del__(self):
584584
try:
585585
self.cleanup()
586586
except:
587+
# Suppress all exceptions during object destruction to avoid errors at
588+
# interpreter shutdown or partial teardown.
587589
pass
588590

589591

0 commit comments

Comments
 (0)