Code review comment for lp:~docky-core/docky/battery-update

Revision history for this message
Robert Dyer (psybers) wrote :

Hit that bug again, using the new code.

System.InvalidOperationException: Collection was modified;enumeration operation may not execute.
  at System.Collections.Generic.List`1+Enumerator[BatteryMonitor.BatteryMonitorUPowerItem+IUPowerDevice].MoveNext () [0x00000]
  at BatteryMonitor.BatteryMonitorUPowerItem.GetCurrentBatteryCapacity () [0x00099] in /home/rdyer/branches/battery-update/StandardPlugins/BatteryMonitor/src/BatteryMonitorUPowerItem.cs:177
  at BatteryMonitor.BatteryMonitorAbstractItem.UpdateBattStat () [0x00015] in /home/rdyer/branches/battery-update/StandardPlugins/BatteryMonitor/src/BatteryMonitorAbstractItem.cs:94
  at GLib.Timeout+TimeoutProxy.Handler () [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.Timeout+TimeoutProxy.Handler()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Docky.Docky.Main(System.String[] args) in /home/rdyer/branches/battery-update/Docky/Docky/Docky.cs:line 95

« Back to merge proposal