[banshee] [Podcasts] Fix cancelling download being slow
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [Podcasts] Fix cancelling download being slow
- Date: Tue, 29 Dec 2009 02:01:49 +0000 (UTC)
commit 5423c7917ad10b9621c7f0a7d9380893cb42e847
Author: Gabriel Burt <gabriel burt gmail com>
Date: Mon Dec 28 19:58:04 2009 -0600
[Podcasts] Fix cancelling download being slow
It was actually continuing the download until finished, and then
discarding the results (BGO #605624)
src/Libraries/Migo/Migo.Net/AsyncWebClient.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Libraries/Migo/Migo.Net/AsyncWebClient.cs b/src/Libraries/Migo/Migo.Net/AsyncWebClient.cs
index 686397e..29f4b61 100644
--- a/src/Libraries/Migo/Migo.Net/AsyncWebClient.cs
+++ b/src/Libraries/Migo/Migo.Net/AsyncWebClient.cs
@@ -316,6 +316,7 @@ namespace Migo.Net
if (req != null) {
req.Abort();
+ Completed ();
}
} catch (Exception ae) {
Console.WriteLine ("Abort Download Error: {0}", ae.Message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]