summaryrefslogtreecommitdiff
path: root/src/leap/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/gui')
-rw-r--r--src/leap/gui/mainwindow.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/gui/mainwindow.py b/src/leap/gui/mainwindow.py
index 9dd44f4c..2325ecf0 100644
--- a/src/leap/gui/mainwindow.py
+++ b/src/leap/gui/mainwindow.py
@@ -1402,8 +1402,13 @@ class MainWindow(QtGui.QMainWindow):
self._logger_window.close()
if self._login_defer:
+ logger.debug("Cancelling login defer.")
self._login_defer.cancel()
+ if self._download_provider_defer:
+ logger.debug("Cancelling download provider defer.")
+ self._download_provider_defer.cancel()
+
self.close()
if self._quit_callback: