MCPcopy Create free account
hub / github.com/microsoft/debugpy / stop_serving

Function stop_serving

src/debugpy/adapter/clients.py:788–796  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

786
787
788def stop_serving():
789 global listener
790 if listener is not None:
791 try:
792 listener.close()
793 except Exception:
794 log.swallow_exception(level="warning")
795 listener = None
796 sessions.report_sockets()

Callers

nothing calls this directly

Calls 2

report_socketsMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…