[banshee/1.5.1-fixes: 46/56] [Podcasts] Fix cancelling download being slow
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/1.5.1-fixes: 46/56] [Podcasts] Fix cancelling download being slow
- Date: Mon, 22 Mar 2010 18:07:56 +0000 (UTC)
commit 7e2b771dbadfc547dad4f2997dc099e1a38eebbf
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 66b2c81..feff17d 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]