wait thread to finish when aborting

This commit is contained in:
donoban 2018-11-25 18:53:31 +01:00
parent f477084bfe
commit 6fdf16278e
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -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!"))