[banshee] [LibraryWatcher] Fix an exception (bgo#612361)



commit be8ce9761d27c4fd2a3a97faa4275a65735560ae
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date:   Wed Mar 10 11:47:28 2010 +1100

    [LibraryWatcher] Fix an exception (bgo#612361)
    
    Disable events after unsubscribing from them to avoid conflicts.

 .../Banshee.LibraryWatcher/SourceWatcher.cs        |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.LibraryWatcher/Banshee.LibraryWatcher/SourceWatcher.cs b/src/Extensions/Banshee.LibraryWatcher/Banshee.LibraryWatcher/SourceWatcher.cs
index c6159d1..d53f15d 100644
--- a/src/Extensions/Banshee.LibraryWatcher/Banshee.LibraryWatcher/SourceWatcher.cs
+++ b/src/Extensions/Banshee.LibraryWatcher/Banshee.LibraryWatcher/SourceWatcher.cs
@@ -102,7 +102,6 @@ namespace Banshee.LibraryWatcher
         public void Dispose ()
         {
             if (!disposed) {
-                watcher.EnableRaisingEvents = false;
                 active = false;
                 watcher.Changed -= OnChanged;
                 watcher.Created -= OnChanged;



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