aboutsummaryrefslogtreecommitdiffstats
path: root/lib/isodumper.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/isodumper.py')
-rwxr-xr-xlib/isodumper.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 42d83c8..5220a0d 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -560,10 +560,8 @@ class IsoDumper(basedialog.BaseDialog):
#elf.persistencecb.setDisabled()
def close(self):
- self.dialog.destroy()
- self.dialog = None
- self.glib_loop.quit()
- self.glib_thread.join()
+ # to exit from _handleEvents loop
+ self._running = False
def logger(self, text):
self.logview.appendLines(text + "\n")
@@ -933,6 +931,11 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog
import traceback
traceback.print_exc()
yui.YDialog.deleteAllDialogs()
+ # Closing
+ self.dialog.destroy()
+ self.dialog = None
+ self.glib_loop.quit()
+ self.glib_thread.join()
if __name__ == "__main__":