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

Function stop_serving

src/debugpy/adapter/servers.py:405–413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

403
404
405def stop_serving():
406 global listener
407 try:
408 if listener is not None:
409 listener.close()
410 listener = None
411 except Exception:
412 log.swallow_exception(level="warning")
413 sessions.report_sockets()
414
415
416def connections():

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…