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

Method gc_safe_close

pymongo/asynchronous/monitor.py:191–194  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

189 await self._rtt_monitor.close()
190
191 def gc_safe_close(self) -> None:
192 self._executor.close()
193 self._rtt_monitor.gc_safe_close()
194 self.cancel_check()
195
196 async def join(self) -> None:
197 await asyncio.gather(

Callers 4

closeMethod · 0.95
_on_topology_gcMethod · 0.45
closeMethod · 0.45
_shutdown_monitorsFunction · 0.45

Calls 2

cancel_checkMethod · 0.95
closeMethod · 0.45

Tested by

no test coverage detected