This commit is contained in:
Fredrik Burmester
2025-02-17 13:50:03 +01:00
parent 124c8bfb3a
commit fd012e38d0

View File

@@ -201,7 +201,7 @@ public class HlsDownloaderModule: Module {
print("No active download found with identifier: \(providedId)")
return
}
let (task, delegate, metadata, startTime) = entry.value
let (task, _, metadata, startTime) = entry.value
self.sendEvent(
"onError",
[
@@ -213,7 +213,6 @@ public class HlsDownloaderModule: Module {
])
task.cancel()
self.activeDownloads.removeValue(forKey: task.taskIdentifier)
self.startNextDownloadIfNeeded()
print("Download cancelled for identifier: \(providedId)")
}