banshee r5174 - in trunk/banshee: . src/Dap/Banshee.Dap/Banshee.Dap



Author: gburt
Date: Mon Mar 30 16:01:11 2009
New Revision: 5174
URL: http://svn.gnome.org/viewvc/banshee?rev=5174&view=rev

Log:
2009-03-30  Gabriel Burt  <gabriel burt gmail com>

	* src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Patch from AndrÃs G.
	Aragoneses disposing the sync object when the dap is disposed, fixing a
	crash if automatic-sync was enabled (BGO #577072)

Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs

Modified: trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs
==============================================================================
--- trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs	(original)
+++ trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs	Mon Mar 30 16:01:11 2009
@@ -108,6 +108,9 @@
             /*Properties.Remove ("Nereid.SourceContents");
             dap_properties_display.Destroy ();
             dap_properties_display = null;*/
+
+            if (sync != null)
+                sync.Dispose ();
         }
         
         private void PurgeTemporaryPlaylists ()



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