MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / __exit__

Method __exit__

core/xtream_codes.py:470–473  ·  view source on GitHub ↗

Exit the context manager and cleanup resources

(self, exc_type, exc_val, exc_tb)

Source from the content-addressed store, hash-verified

468 return self
469
470 def __exit__(self, exc_type, exc_val, exc_tb):
471 """Exit the context manager and cleanup resources"""
472 self.close()
473 return False # Don't suppress exceptions
474
475 def __del__(self):
476 """Ensure session is closed when object is destroyed"""

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected