From 6fdf16278e4bae622a44a71408e6fe496ec76d5a Mon Sep 17 00:00:00 2001 From: donoban Date: Sun, 25 Nov 2018 18:53:31 +0100 Subject: [PATCH] wait thread to finish when aborting --- qubesmanager/backup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qubesmanager/backup.py b/qubesmanager/backup.py index 2549488..358f1be 100644 --- a/qubesmanager/backup.py +++ b/qubesmanager/backup.py @@ -366,6 +366,7 @@ class BackupVMsWindow(ui_backupdlg.Ui_Backup, multiselectwidget.QtGui.QWizard): self.qubes_app.qubesd_call( 'dom0', 'admin.backup.Cancel', backup_utils.get_profile_name(True)) + self.thread.wait() QtGui.QMessageBox.warning( self, self.tr("Backup aborted!"), self.tr("ERROR: {}").format("Aborted!"))