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

This commit is contained in:
Andrey Smirnov committed 2014-10-03 01:31:38 +04:00
1 parent 43eb993160
commit 1042894123
4 files changed
+16 -3

No files matched your search

+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 {