[cheese] Stop the running countdown on destruction



commit b096ccab65dc6b77829671c4ecac0911bef5044d
Author: David King <amigadave amigadave com>
Date:   Tue May 14 17:47:59 2013 +0100

    Stop the running countdown on destruction
    
    Fixes bug 700315.

 src/cheese-countdown.vala |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/cheese-countdown.vala b/src/cheese-countdown.vala
index 36d77f1..d8f4e4f 100644
--- a/src/cheese-countdown.vala
+++ b/src/cheese-countdown.vala
@@ -34,6 +34,11 @@ internal class Cheese.Countdown : GLib.Object
     settings             = new GLib.Settings("org.gnome.Cheese");
   }
 
+  ~Countdown ()
+  {
+    stop ();
+  }
+
   /**
    * Fade the countdown text out, over 500 milliseconds.
    *


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