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

Method __exit__

keepercommander/discovery_common/process.py:139–142  ·  view source on GitHub ↗

Context manager exit - ensures cleanup.

(self, exc_type, exc_val, exc_tb)

Source from the content-addressed store, hash-verified

137 return self
138
139 def __exit__(self, exc_type, exc_val, exc_tb):
140 """Context manager exit - ensures cleanup."""
141 self.close()
142 return False
143
144 def __del__(self):
145 self.close()

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected