------------------------------------------------------------
revno: 366
committer: Michal Hruby <michal....@gmail.com>
branch nick: bluebird
timestamp: Fri 2012-01-06 11:20:42 +0100
message:
  Disable the VolumeMonitor in StorageMonitor extension to avoid weird races
modified:
  extensions/storage-monitor.vala


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/storage-monitor.vala'
--- extensions/storage-monitor.vala	2011-12-04 22:14:33 +0000
+++ extensions/storage-monitor.vala	2012-01-06 10:20:42 +0000
@@ -142,6 +142,11 @@
                 warning ("%s", err.message);
             }
 
+            /*
+             * This is disabled because it causes races on some hardware
+             * (zg will be using 100% cpu, maybe eat up lots of memory etc.)
+             */
+            /*
             VolumeMonitor monitor = VolumeMonitor.get ();
             monitor.volume_added.connect (on_volume_added);
             monitor.volume_removed.connect (on_volume_removed);
@@ -150,6 +155,7 @@
                 add_storage_medium (get_volume_id (volume),
                     volume.get_icon ().to_string (), volume.get_name ());
             }
+            */
 
             // Dynamically decide whether to use Connman or NetworkManager
             watch_connman = Bus.watch_name (BusType.SYSTEM,

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to