From 91757aadfb9408df82c932adcc053b94d89c0537 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Wed, 29 May 2019 12:15:27 +0100 Subject: [PATCH] close endpoint after download --- core/src/main/groovy/com/muwire/core/download/Downloader.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/groovy/com/muwire/core/download/Downloader.groovy b/core/src/main/groovy/com/muwire/core/download/Downloader.groovy index f25e0afb..9ddd9806 100644 --- a/core/src/main/groovy/com/muwire/core/download/Downloader.groovy +++ b/core/src/main/groovy/com/muwire/core/download/Downloader.groovy @@ -48,6 +48,7 @@ public class Downloader { currentSession.request() } currentState = DownloadState.FINISHED + endpoint.close() } public long donePieces() {