(self, future)
| 622 | thread.join() |
| 623 | |
| 624 | def _do_shutdown(self, future): |
| 625 | try: |
| 626 | self._default_executor.shutdown(wait=True) |
| 627 | if not self.is_closed(): |
| 628 | self.call_soon_threadsafe(futures._set_result_unless_cancelled, |
| 629 | future, None) |
| 630 | except Exception as ex: |
| 631 | if not self.is_closed() and not future.cancelled(): |
| 632 | self.call_soon_threadsafe(future.set_exception, ex) |
| 633 | |
| 634 | def _check_running(self): |
| 635 | if self.is_running(): |
nothing calls this directly
no test coverage detected