MCPcopy Create free account
hub / github.com/ZeroIntensity/pointers.py / _cleanup

Method _cleanup

src/pointers/c_pointer.py:93–96  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

91
92 @handle
93 def _cleanup(self) -> None:
94 if self.address:
95 remove_ref(~self)
96 remove_ref(self._transport)
97
98 @property
99 def _as_parameter_(self) -> "ctypes._CData":

Callers

nothing calls this directly

Calls 1

remove_refFunction · 0.85

Tested by

no test coverage detected