Wait for all remaining output to be captured.
(self, timeout=None)
| 58 | self._worker_threads.append(thread) |
| 59 | |
| 60 | def wait(self, timeout=None): |
| 61 | """Wait for all remaining output to be captured.""" |
| 62 | if not self._worker_threads: |
| 63 | return |
| 64 | log.debug("Waiting for remaining {0} output...", self.session.debuggee_id) |
| 65 | for t in self._worker_threads: |
| 66 | t.join(timeout) |
| 67 | self._worker_threads[:] = [] |
| 68 | |
| 69 | def _output(self, which, encoding, lines): |
| 70 | try: |