diff --git a/src/musikdroid/app/src/main/java/io/casey/musikcube/remote/ui/download/activity/TrackDownloadActivity.kt b/src/musikdroid/app/src/main/java/io/casey/musikcube/remote/ui/download/activity/TrackDownloadActivity.kt index fb72380aa..61cdc9b23 100644 --- a/src/musikdroid/app/src/main/java/io/casey/musikcube/remote/ui/download/activity/TrackDownloadActivity.kt +++ b/src/musikdroid/app/src/main/java/io/casey/musikcube/remote/ui/download/activity/TrackDownloadActivity.kt @@ -162,10 +162,9 @@ class TrackDownloadActivity: BaseActivity() { catch (ex: Exception) { /* move on... */ } - finally { - synchronized (mutex) { - pendingCall = null - } + + synchronized (mutex) { + pendingCall = null response.close() }