MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / __del__

Method __del__

source/binding/Python/maa/buffer.py:34–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32 raise RuntimeError("Failed to create string buffer.")
33
34 def __del__(self):
35 if self._handle and self._own:
36 Library.framework().MaaStringBufferDestroy(self._handle)
37
38 def get(self) -> str:
39 """获取缓冲区内容 / Get buffer content

Callers

nothing calls this directly

Calls 1

frameworkMethod · 0.80

Tested by

no test coverage detected