MCPcopy
hub / github.com/retspen/webvirtcloud / close

Method close

console/tunnel.py:117–130  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

115 return fd
116
117 def close(self):
118 if self.outfd is None:
119 return
120
121 logging.debug("Shutting down tunnel PID=%d OUTFD=%d ERRFD=%d",
122 self.pid, self.outfd.fileno(),
123 self.errfd.fileno())
124 self.outfd.close()
125 self.outfd = None
126 self.errfd.close()
127 self.errfd = None
128
129 os.kill(self.pid, signal.SIGKILL)
130 self.pid = None
131
132 def get_err_output(self):
133 errout = ""

Callers 15

openMethod · 0.45
networksFunction · 0.45
networkFunction · 0.45
FbFunction · 0.45
openFunction · 0.45
closeFunction · 0.45
RFBFunction · 0.45
web_socket.jsFile · 0.45
ubFunction · 0.45
spiceconn.jsFile · 0.45
storagesFunction · 0.45
handle_uploaded_fileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected