MCPcopy Index your code
hub / github.com/sshuttle/sshuttle / close

Method close

sshuttle/helpers.py:299–304  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

297 self.flush = w.flush
298
299 def close(self):
300 for f in self.r, self.w:
301 try:
302 f.close()
303 except Exception:
304 pass
305
306
307class SocketRWShim:

Callers 15

test_send_udpFunction · 0.80
daemonizeFunction · 0.80
preexec_fnMethod · 0.80
get_pfileMethod · 0.80
doneMethod · 0.80
onaccept_tcpFunction · 0.80
rewrite_etc_hostsFunction · 0.80
close_stdinFunction · 0.80
preexec_fnFunction · 0.80
connectFunction · 0.80
get_server_ioFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_send_udpFunction · 0.64