MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / gc_safe_close

Method gc_safe_close

pymongo/asynchronous/monitor.py:108–110  ·  view source on GitHub ↗

GC safe close.

(self)

Source from the content-addressed store, hash-verified

106 self._executor.open()
107
108 def gc_safe_close(self) -> None:
109 """GC safe close."""
110 self._executor.close()
111
112 async def close(self) -> None:
113 """Close and stop monitoring.

Callers 1

closeMethod · 0.95

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected