close endpoint after download

pull/4/head
Zlatin Balevsky 2019-05-29 12:15:27 +01:00
parent 865e4ab15c
commit 91757aadfb
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ public class Downloader {
currentSession.request()
}
currentState = DownloadState.FINISHED
endpoint.close()
}
public long donePieces() {