[gnome-boxes] Unset mount_point field *after* last use



commit e1c28ba7c1936e8276c6a710194cd05460c52878
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Jul 4 05:41:02 2012 +0300

    Unset mount_point field *after* last use

 src/fedora-installer.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/fedora-installer.vala b/src/fedora-installer.vala
index 5eb18f0..048e08b 100644
--- a/src/fedora-installer.vala
+++ b/src/fedora-installer.vala
@@ -112,8 +112,8 @@ private class Boxes.FedoraInstaller: UnattendedInstaller {
         debug ("Unmounted '%s'.", mount_point);
 
         source_dir.delete ();
-        mount_point = null;
         debug ("Removed '%s'.", mount_point);
+        mount_point = null;
     }
 
     private async void mount_media (Cancellable? cancellable) throws GLib.Error {



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