Code

Delete the delayed snap event, killing any pending timers, when the event-context...
authordvlierop2 <dvlierop2@users.sourceforge.net>
Wed, 1 Apr 2009 19:47:30 +0000 (19:47 +0000)
committerdvlierop2 <dvlierop2@users.sourceforge.net>
Wed, 1 Apr 2009 19:47:30 +0000 (19:47 +0000)
src/event-context.cpp

index e228497985db5fb1259178c0853bf1f37fa1548f..bf98d98d3d6af222cfe1c8d55de34ab1b201e5fc 100644 (file)
@@ -173,6 +173,10 @@ sp_event_context_dispose(GObject *object)
         delete ec->pref_observer;
     }
 
+    if (ec->_delayed_snap_event) {
+       delete ec->_delayed_snap_event;
+    }
+
     G_OBJECT_CLASS(parent_class)->dispose(object);
 }