| 2881 | terminated = [] |
| 2882 | |
| 2883 | class Connection(pg_connection.Connection): |
| 2884 | def __init__(self, *args, **kwargs): |
| 2885 | super().__init__(*args, **kwargs) |
| 2886 | if not candidates: |
| 2887 | self.add_termination_listener(terminated.append) |
| 2888 | candidates.append(self) |
| 2889 | |
| 2890 | con = None |
| 2891 | try: |
nothing calls this directly
no outgoing calls
no test coverage detected