[gnome-boxes] wizard: Unref VMCreator instance on cancellation



commit 92948bbff5b43339d41c771b1669b348ccc999a2
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue May 21 02:25:37 2013 +0300

    wizard: Unref VMCreator instance on cancellation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700470

 src/wizard.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 1ecd6d0..75334b7 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -655,6 +655,7 @@ private class Boxes.Wizard: Boxes.UI {
         cancel_button.label = _("_Cancel");
         cancel_button.clicked.connect (() => {
             destroy_machine ();
+            vm_creator = null;
             wizard_source.page = SourcePage.MAIN;
             App.app.ui_state = UIState.COLLECTION;
         });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]