MCPcopy Create free account
hub / github.com/apenwarr/sshuttle / maybe_close

Method maybe_close

ssnet.py:490–494  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

488 self.maybe_close()
489
490 def maybe_close(self):
491 if self.shut_read and self.shut_write:
492 # remove the mux's reference to us. The python garbage collector
493 # will then be able to reap our object.
494 self.mux.channels[self.channel] = None
495
496 def too_full(self):
497 return self.mux.too_full

Callers 2

noreadMethod · 0.95
nowriteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected