MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / do_kill

Method do_kill

tests_python/debugger_unittest.py:836–851  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

834 return [self.TEST_FILE]
835
836 def do_kill(self):
837 if hasattr(self, "server_socket"):
838 self.server_socket.close()
839 delattr(self, "server_socket")
840
841 if hasattr(self, "reader_thread"):
842 # if it's not created, it's not there...
843 self.reader_thread.do_kill()
844 delattr(self, "reader_thread")
845
846 if hasattr(self, "sock"):
847 self.sock.close()
848 delattr(self, "sock")
849
850 if hasattr(self, "port"):
851 delattr(self, "port")
852
853 def write_with_content_len(self, msg):
854 self.log.append("write: %s" % (msg,))

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
do_killMethod · 0.45

Tested by

no test coverage detected