summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/mainwindow.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-11-29 13:59:30 -0300
committerTomás Touceda <chiiph@leap.se>2013-11-29 13:59:30 -0300
commita9765e721f210301ce06da3d8bccb4fc1a275834 (patch)
tree0f1f9d6dc2342730ba4bb9df851625154388d69b /src/leap/bitmask/gui/mainwindow.py
parent67cf42d6918f6ef9ec9e8a1f2b3257306ab50894 (diff)
Properly close Soledad at quit
Diffstat (limited to 'src/leap/bitmask/gui/mainwindow.py')
-rw-r--r--src/leap/bitmask/gui/mainwindow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index 25e25e45..3758bab5 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -1652,9 +1652,9 @@ class MainWindow(QtGui.QMainWindow):
# XXX this can timeout after loong time: See #3368
self._srp_auth.logout()
- if self._soledad:
+ if self._soledad_bootstrapper.soledad is not None:
logger.debug("Closing soledad...")
- self._soledad.close()
+ self._soledad_bootstrapper.soledad.close()
else:
logger.error("No instance of soledad was found.")