(self)
| 118 | self.on_close() |
| 119 | |
| 120 | def close(self): |
| 121 | self.stop = True # will only disconnect after next msg recv |
| 122 | self._disconnect() # force disconnect so threads can join |
| 123 | self.thread.join() |
| 124 | |
| 125 | def on_open(self): |
| 126 | if self.should_print: |
no test coverage detected