Skip to content

Commit

Permalink
clear task queue
Browse files Browse the repository at this point in the history
  • Loading branch information
hughfenghen authored Jun 20, 2024
1 parent a820688 commit f58342b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/av-cliper/src/data-loader/hls-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function createHLSLoader(m3u8URL: string, concurrency = 10) {
await task?.();
next();
} catch (err) {
queue.length = 0;
queue = [];
ctrl.error(err);
Log.error(err);
}
Expand Down

0 comments on commit f58342b

Please sign in to comment.