MCPcopy Create free account
hub / github.com/chatmail/core / finalize

Method finalize

python/src/deltachat/testplugin.py:411–424  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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 """

Callers 1

file_hashFunction · 0.80

Calls 2

shutdownMethod · 0.45
disable_loggingMethod · 0.45

Tested by

no test coverage detected