summaryrefslogtreecommitdiff
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
parent67cf42d6918f6ef9ec9e8a1f2b3257306ab50894 (diff)
Properly close Soledad at quit
-rw-r--r--changes/bug_4504_properly_close_soledad1
-rw-r--r--src/leap/bitmask/gui/mainwindow.py4
2 files changed, 3 insertions, 2 deletions
diff --git a/changes/bug_4504_properly_close_soledad b/changes/bug_4504_properly_close_soledad
new file mode 100644
index 00000000..b33db9c2
--- /dev/null
+++ b/changes/bug_4504_properly_close_soledad
@@ -0,0 +1 @@
+- Properly close Soledad at quit time. Fixes #4504. \ No newline at end of file
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.")