(self)
| 558 | pass |
| 559 | |
| 560 | def handle_close(self): |
| 561 | self.set_state("close") |
| 562 | if not (self.accepting or self.connecting or self.connected): |
| 563 | # already disconnected |
| 564 | return |
| 565 | try: |
| 566 | logger.debug("%s:%i: closing, %s", self.destination.host, self.destination.port, self.close_reason) |
| 567 | except AttributeError: |
| 568 | try: |
| 569 | logger.debug("%s:%i: closing", self.destination.host, self.destination.port) |
| 570 | except AttributeError: |
| 571 | logger.debug("Disconnected socket closing") |
| 572 | AdvancedDispatcher.handle_close(self) |
no test coverage detected