Skip to content

Commit 3cb8bcf

Browse files
fix: fixed removing video after user logs out
1 parent b126701 commit 3cb8bcf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/org/openedx/core/module/download/AbstractDownloader.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ abstract class AbstractDownloader : KoinComponent {
7373
private fun closeResources() {
7474
fos?.close()
7575
input?.close()
76+
currentDownloadingFilePath = null
7677
}
7778

7879
suspend fun cancelDownloading() {

0 commit comments

Comments
 (0)