Abort downloader on shutdown, don't wait for downloads to finish. #45 #114

This commit is contained in:
Andrey Smirnov
2014-10-03 01:31:38 +04:00
parent 43eb993160
commit 1042894123
4 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ func ShutdownContext() {
context.database = nil
}
if context.downloader != nil {
context.downloader.Shutdown()
context.downloader.Abort()
context.downloader = nil
}
if context.progress != nil {