diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-11-13 13:17:56 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-11-13 13:17:56 -0300 |
commit | ff31617ff26293ed7ffcfa5b72d803bc3c766cc7 (patch) | |
tree | f7febaf66a69e54c0625bb7b5a51ef789edb4a6e /src/leap/bitmask/services/mail | |
parent | fb3fb9ffb0e0902bb22e3635cbeb3da4585edcd5 (diff) | |
parent | 19df4a679664e76874e970813599c13c94dfd745 (diff) |
Merge remote-tracking branch 'kali/feature/do-not-wait-for-initial-sync' into develop
Diffstat (limited to 'src/leap/bitmask/services/mail')
-rw-r--r-- | src/leap/bitmask/services/mail/conductor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/services/mail/conductor.py b/src/leap/bitmask/services/mail/conductor.py index a9621b13..addf9bef 100644 --- a/src/leap/bitmask/services/mail/conductor.py +++ b/src/leap/bitmask/services/mail/conductor.py @@ -98,6 +98,7 @@ class IMAPControl(object): logger.debug('Stopping imap service.') # Stop the loop call in the fetcher self.imap_service.stop() + self.imap_service = None # Stop listening on the IMAP port self.imap_port.stopListening() # Stop the protocol @@ -107,7 +108,6 @@ class IMAPControl(object): """ Fetches incoming mail. """ - # TODO have a mutex over fetch operation. if self.imap_service: logger.debug('Client connected, fetching mail...') self.imap_service.fetch() |