MCPcopy Create free account
hub / github.com/MarkFzp/act-plus-plus / __exit__

Method __exit__

dynamixel_client.py:340–342  ·  view source on GitHub ↗

Enables use as a context manager.

(self, *args)

Source from the content-addressed store, hash-verified

338 return self
339
340 def __exit__(self, *args):
341 """Enables use as a context manager."""
342 self.disconnect()
343
344 def __del__(self):
345 """Automatically disconnect on destruction."""

Callers

nothing calls this directly

Calls 1

disconnectMethod · 0.95

Tested by

no test coverage detected