[f-spot] Forcefully dispose GdkImageLoader.



commit f45f776c1623b96589269dd28473240e324750fb
Author: Ruben Vermeersch <ruben savanne be>
Date:   Thu Jun 3 20:31:44 2010 +0200

    Forcefully dispose GdkImageLoader.

 src/Loaders/GdkImageLoader.cs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/Loaders/GdkImageLoader.cs b/src/Loaders/GdkImageLoader.cs
index 35eab2e..930f6ed 100644
--- a/src/Loaders/GdkImageLoader.cs
+++ b/src/Loaders/GdkImageLoader.cs
@@ -24,6 +24,12 @@ namespace FSpot.Loaders {
 		{	
 		}
 
+        ~GdkImageLoader ()
+        {
+            if (!is_disposed)
+                Dispose ();
+        }
+
 		public void Load (SafeUri uri)
 		{
 			if (is_disposed)



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