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



commit 32c591f3d336ec62ab1747ce3077857b05111338
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 1e2129c..cd30fd5 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -656,6 +656,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]