From fd012e38d00db676b38a61ab48524803ce04d52a Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Mon, 17 Feb 2025 13:50:03 +0100 Subject: [PATCH] fix --- modules/hls-downloader/ios/HlsDownloaderModule.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/hls-downloader/ios/HlsDownloaderModule.swift b/modules/hls-downloader/ios/HlsDownloaderModule.swift index c49af455..4788ce50 100644 --- a/modules/hls-downloader/ios/HlsDownloaderModule.swift +++ b/modules/hls-downloader/ios/HlsDownloaderModule.swift @@ -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)") }