summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/mainwindow.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-12-02 13:19:29 -0400
committerKali Kaneko <kali@leap.se>2013-12-02 13:19:29 -0400
commitae72f363e10a147e8d8d9cb5555bc2a42bb74e44 (patch)
tree3b774fe458c438021f6d932c7002611baf0e8b31 /src/leap/bitmask/gui/mainwindow.py
parentbb2357fe4f6cd53ddea6cf8a999e1213c10a9c1c (diff)
parenta9765e721f210301ce06da3d8bccb4fc1a275834 (diff)
Merge remote-tracking branch 'chiiph/bug/4504_properly_close_soledad' into develop
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 0d55040f..36d3ca67 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -1651,9 +1651,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.")