summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/backend.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-05-30 11:22:25 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-05-30 11:22:25 -0300
commite723927a9a5a1b6e40553499e9d5148df10fcc46 (patch)
tree327618c2a43cf0015b8f5e07fed8025aa620ac52 /src/leap/bitmask/backend.py
parent014b10ffae521f3abbf7d38c6700bbacf2712134 (diff)
Do nothing if the vpnprocess is not started.
We were trying to access the `is_restart` attribute that causes a failure if the vpnprocess is not instantiated.
Diffstat (limited to 'src/leap/bitmask/backend.py')
-rw-r--r--src/leap/bitmask/backend.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/bitmask/backend.py b/src/leap/bitmask/backend.py
index e67bee1b..4ec20be7 100644
--- a/src/leap/bitmask/backend.py
+++ b/src/leap/bitmask/backend.py
@@ -974,6 +974,7 @@ class Mail(object):
threads.deferToThread(self._imap_controller.stop_imap_service, cv)
logger.debug('Waiting for imap service to stop.')
cv.wait(self.SERVICE_STOP_TIMEOUT)
+ logger.debug('IMAP stopped')
self._signaler.signal(self._signaler.IMAP_STOPPED)
def stop_imap_service(self):