banshee r4672 - in trunk/banshee: . src/Clients/Beroe/Beroe
- From: abock svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4672 - in trunk/banshee: . src/Clients/Beroe/Beroe
- Date: Wed, 8 Oct 2008 23:19:17 +0000 (UTC)
Author: abock
Date: Wed Oct 8 23:19:17 2008
New Revision: 4672
URL: http://svn.gnome.org/viewvc/banshee?rev=4672&view=rev
Log:
* banshee/src/Clients/Beroe/Beroe/RemoteClient.cs: Check for Shutdown
when processing the index
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Clients/Beroe/Beroe/RemoteClient.cs
Modified: trunk/banshee/src/Clients/Beroe/Beroe/RemoteClient.cs
==============================================================================
--- trunk/banshee/src/Clients/Beroe/Beroe/RemoteClient.cs (original)
+++ trunk/banshee/src/Clients/Beroe/Beroe/RemoteClient.cs Wed Oct 8 23:19:17 2008
@@ -67,7 +67,7 @@
indexer.Index ();
for (int i = 0, models = indexer.GetModelCounts (); i < models; i++) {
- for (int j = 0, items = indexer.GetModelResultsCount (i); j < items; j++) {
+ for (int j = 0, items = indexer.GetModelResultsCount (i); j < items && !Shutdown; j++) {
IDictionary<string, object> result = indexer.GetResult (i, j);
Console.WriteLine (result["URI"]);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]