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

Function shut_down

src/debugpy/common/sockets.py:127–129  ·  view source on GitHub ↗

Shut down the given socket.

(sock, how=socket.SHUT_RDWR)

Source from the content-addressed store, hash-verified

125
126
127def shut_down(sock, how=socket.SHUT_RDWR):
128 """Shut down the given socket."""
129 sock.shutdown(how)
130
131
132def close_socket(sock):

Callers 1

close_socketFunction · 0.85

Calls 1

shutdownMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…