Skip to content

Bug/8479 Core attempts to sync after logout

drebs requested to merge drebs/bitmask-dev:bug/8479 into master

I tried to solve the problem of making the core stop to sync/fetch mail after a logout. That required a bit of refactor for how services are used.

Some highlights:

  • move imap/smtp initialization to startService, allowing start/stop as twisted service.
  • turn IncomingMailService into a MultiService, allowing to store multiple syncers as child services.
  • separate service initialization and start on BitmaskBackend, also make use of twisted service infrastructure.
  • bug fixes

The related issue: https://leap.se/code/issues/8479

Merge request reports

Loading