(self)
| 409 | print("[acfactory]", f"{time.time() - self.init_time:.3f}", *args) |
| 410 | |
| 411 | def finalize(self): |
| 412 | while self._finalizers: |
| 413 | fin = self._finalizers.pop() |
| 414 | fin() |
| 415 | |
| 416 | while self._accounts: |
| 417 | acc = self._accounts.pop() |
| 418 | if acc is not None: |
| 419 | imap = getattr(acc, "direct_imap", None) |
| 420 | if imap is not None: |
| 421 | imap.shutdown() |
| 422 | del acc.direct_imap |
| 423 | acc.shutdown() |
| 424 | acc.disable_logging() |
| 425 | |
| 426 | def get_next_liveconfig(self): |
| 427 | """ |
no test coverage detected