MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / __exit__

Method __exit__

keepercommander/discovery_common/process.py:130–133  ·  view source on GitHub ↗

Context manager exit - ensures cleanup.

(self, exc_type, exc_val, exc_tb)

Source from the content-addressed store, hash-verified

128 return self
129
130 def __exit__(self, exc_type, exc_val, exc_tb):
131 """Context manager exit - ensures cleanup."""
132 self.close()
133 return False
134
135 def __del__(self):
136 self.close()

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected