(self)
| 354 | pass |
| 355 | |
| 356 | def do_kill(self): |
| 357 | self._kill = True |
| 358 | if hasattr(self, "sock"): |
| 359 | from socket import SHUT_RDWR |
| 360 | |
| 361 | try: |
| 362 | self.sock.shutdown(SHUT_RDWR) |
| 363 | except: |
| 364 | pass |
| 365 | try: |
| 366 | self.sock.close() |
| 367 | except: |
| 368 | pass |
| 369 | delattr(self, "sock") |
| 370 | |
| 371 | |
| 372 | def read_process(stream, buffer, debug_stream, stream_name, finish): |
no test coverage detected