Block the caller while driving the Tk event loop until thread finishes.
(self, thread: threading.Thread)
| 443 | return t, exc_box |
| 444 | |
| 445 | def _poll_thread(self, thread: threading.Thread) -> None: |
| 446 | """Block the caller while driving the Tk event loop until thread finishes.""" |
| 447 | while thread.is_alive(): |
| 448 | try: |
| 449 | self.base.update() |
| 450 | except Exception as exc: |
| 451 | log.debug("_poll_thread: update error (ignored): %s", exc) |
| 452 | thread.join(timeout=0.05) |
| 453 | |
| 454 | def pcap_analyse(self): |
| 455 | if not os.access(self.destination_report.get(), os.W_OK): |
no outgoing calls
no test coverage detected